| 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 8c7cae4d9d91abf7af775817f049c354883b4e07..00c50e304fbabe81c25a3c82222b247defa207af 100644
|
| --- a/Source/devtools/front_end/host/InspectorFrontendHost.js
|
| +++ b/Source/devtools/front_end/host/InspectorFrontendHost.js
|
| @@ -31,6 +31,10 @@
|
| /** @interface */
|
| function InspectorFrontendHostAPI()
|
| {
|
| + /**
|
| + * @type {!WebInspector.EventTarget}
|
| + */
|
| + this.events;
|
| }
|
|
|
| /** @typedef {{type:string, id:(number|undefined),
|
| @@ -274,8 +278,9 @@ InspectorFrontendHostAPI.prototype = {
|
| * @param {number} x
|
| * @param {number} y
|
| * @param {!Array.<!InspectorFrontendHostAPI.ContextMenuDescriptor>} items
|
| + * @param {!Document} document
|
| */
|
| - showContextMenuAtPoint: function(x, y, items) { },
|
| + showContextMenuAtPoint: function(x, y, items, document) { },
|
|
|
| /**
|
| * @return {boolean}
|
| @@ -589,8 +594,9 @@ WebInspector.InspectorFrontendHostStub.prototype = {
|
| * @param {number} x
|
| * @param {number} y
|
| * @param {!Array.<!InspectorFrontendHostAPI.ContextMenuDescriptor>} items
|
| + * @param {!Document} document
|
| */
|
| - showContextMenuAtPoint: function(x, y, items)
|
| + showContextMenuAtPoint: function(x, y, items, document)
|
| {
|
| throw "Soft context menu should be used";
|
| },
|
|
|