DevTools: do not handle active panel shortcuts unless panel has focus.
DevTools: do not handle active panel shortcuts unless panel has focus.

Bug: 835656
Change-Id: I9b0692917facb673fc01c9974430d1e66fcd7742
Reviewed-on: https://chromium-review.googlesource.com/1048031
Reviewed-by: Dmitry Gozman <0ca14b32cbb359a30ac562af27dd84cc2813eacb@chromium.org>
Commit-Queue: Pavel Feldman <e1161d7019a0d5c7981e3c3ffc69c76f4b09679a@chromium.org>
Cr-Original-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#556559}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ec3529b434fdde061f924b8e3a93f4f1a386f8c6
ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,dart-archive/devtools-frontend,dart-archive/devtools-frontend,dart-archive/devtools-frontend,dart-archive/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,dart-archive/devtools-frontend,dart-archive/devtools-frontend