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

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

Issue 1314853006: DevTools: expose wired front-end API for editors interop [blink] (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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
Index: Source/devtools/front_end/host/InspectorFrontendHostAPI.js
diff --git a/Source/devtools/front_end/host/InspectorFrontendHostAPI.js b/Source/devtools/front_end/host/InspectorFrontendHostAPI.js
index b27d6169823ae03ed4c80ad28d712bf10d4ce9aa..5dd4cd7d206e7845f62b08a1a81441c96286e409 100644
--- a/Source/devtools/front_end/host/InspectorFrontendHostAPI.js
+++ b/Source/devtools/front_end/host/InspectorFrontendHostAPI.js
@@ -36,6 +36,7 @@ InspectorFrontendHostAPI.Events = {
DevicesUpdated: "devicesUpdated",
DispatchMessage: "dispatchMessage",
DispatchMessageChunk: "dispatchMessageChunk",
+ DispatchFrontendAPIMessage: "dispatchFrontendAPIMessage",
EnterInspectElementMode: "enterInspectElementMode",
FileSystemsLoaded: "fileSystemsLoaded",
FileSystemRemoved: "fileSystemRemoved",
@@ -63,6 +64,7 @@ InspectorFrontendHostAPI.EventDescriptors = [
[InspectorFrontendHostAPI.Events.DevicesUpdated, ["devices"]],
[InspectorFrontendHostAPI.Events.DispatchMessage, ["messageObject"]],
[InspectorFrontendHostAPI.Events.DispatchMessageChunk, ["messageChunk", "messageSize"]],
+ [InspectorFrontendHostAPI.Events.DispatchFrontendAPIMessage, ["messageObject"]],
[InspectorFrontendHostAPI.Events.EnterInspectElementMode, []],
[InspectorFrontendHostAPI.Events.FileSystemsLoaded, ["fileSystems"]],
[InspectorFrontendHostAPI.Events.FileSystemRemoved, ["fileSystemPath"]],
@@ -261,5 +263,10 @@ InspectorFrontendHostAPI.prototype = {
/**
* @return {boolean}
*/
- isHostedMode: function() { }
+ isHostedMode: function() { },
+
+ /**
+ * @param {string} message
+ */
+ sendFrontendAPINotification: function(message) { }
}

Powered by Google App Engine
This is Rietveld 408576698