Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1921)

Unified Diff: Source/devtools/front_end/host/InspectorFrontendHost.js

Issue 653613002: [DevTools] Inject element into toolbox window, do not load modules there. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/inspector/InspectorFrontendHost.idl ('k') | Source/devtools/front_end/main/AdvancedApp.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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";
},
« no previous file with comments | « Source/core/inspector/InspectorFrontendHost.idl ('k') | Source/devtools/front_end/main/AdvancedApp.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698