Index: Source/devtools/front_end/devtools.js |
diff --git a/Source/devtools/front_end/devtools.js b/Source/devtools/front_end/devtools.js |
index e3f861d31057c880fe01f7379b5f27ff8bf5c38a..c8d1f9acbe818605c9203f19cf342d4963798ee3 100644 |
--- a/Source/devtools/front_end/devtools.js |
+++ b/Source/devtools/front_end/devtools.js |
@@ -272,6 +272,24 @@ DevToolsAPIImpl.prototype = { |
streamWrite: function(id, chunk) |
{ |
this._dispatchOnInspectorFrontendAPI("streamWrite", [id, chunk]); |
+ }, |
+ |
+ frontendAPIAttached: function() |
+ { |
+ this._dispatchOnInspectorFrontendAPI("frontendAPIAttached", []); |
+ }, |
+ |
+ frontendAPIDetached: function() |
+ { |
+ this._dispatchOnInspectorFrontendAPI("frontendAPIDetached", []); |
+ }, |
+ |
+ /** |
+ * @param {string} command |
+ */ |
+ dispatchFrontendAPIMessage: function(command) |
+ { |
+ this._dispatchOnInspectorFrontendAPI("dispatchFrontendAPIMessage", [command]); |
} |
} |
@@ -496,6 +514,15 @@ InspectorFrontendHostImpl.prototype = { |
/** |
* @override |
+ * @param {string} message |
+ */ |
+ sendFrontendAPINotification: function(message) |
+ { |
+ DevToolsAPI.sendMessageToEmbedder("sendFrontendAPINotification", [message], null); |
+ }, |
+ |
+ /** |
+ * @override |
*/ |
requestFileSystems: function() |
{ |