| Index: Source/devtools/front_end/host/InspectorFrontendHost.js
|
| diff --git a/Source/devtools/front_end/host/InspectorFrontendHost.js b/Source/devtools/front_end/host/InspectorFrontendHost.js
|
| index 00c50e304fbabe81c25a3c82222b247defa207af..011adffffbc371743d505e7589157a54dbe51c9c 100644
|
| --- a/Source/devtools/front_end/host/InspectorFrontendHost.js
|
| +++ b/Source/devtools/front_end/host/InspectorFrontendHost.js
|
| @@ -296,9 +296,20 @@ InspectorFrontendHostAPI.prototype = {
|
| /**
|
| * @constructor
|
| * @implements {InspectorFrontendHostAPI}
|
| + * @suppressGlobalPropertiesCheck
|
| */
|
| WebInspector.InspectorFrontendHostStub = function()
|
| {
|
| + /**
|
| + * @param {!Event} event
|
| + */
|
| + function stopEventPropagation(event)
|
| + {
|
| + // Let browser handle Ctrl+/Ctrl- shortcuts in hosted mode.
|
| + if (event.ctrlKey && (event.keyCode === 187 || event.keyCode === 189))
|
| + event.stopPropagation();
|
| + }
|
| + document.addEventListener("keydown", stopEventPropagation, true);
|
| }
|
|
|
| WebInspector.InspectorFrontendHostStub.prototype = {
|
|
|