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

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

Issue 1063693002: [WIP] Support opening an inspector window for ServiceWorker running on Android (blink) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 5 years, 8 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/InspectorFrontendHost.js
diff --git a/Source/devtools/front_end/host/InspectorFrontendHost.js b/Source/devtools/front_end/host/InspectorFrontendHost.js
index 0ccbf2dcd507df1eb1760dc6a29ca6ff19a035a4..4b6dd1af91bede7dbcf990bbbba1bda961bf1e3a 100644
--- a/Source/devtools/front_end/host/InspectorFrontendHost.js
+++ b/Source/devtools/front_end/host/InspectorFrontendHost.js
@@ -275,7 +275,12 @@ InspectorFrontendHostAPI.prototype = {
/**
* @return {boolean}
*/
- isHostedMode: function() { }
+ isHostedMode: function() { },
+
+ /**
+ * @param {string} id
+ */
+ openWorkerInspector: function(id) { }
}
/**
@@ -618,7 +623,13 @@ WebInspector.InspectorFrontendHostStub.prototype = {
isHostedMode: function()
{
return true;
- }
+ },
+
+ /**
+ * @override
+ * @param {string} id
+ */
+ openWorkerInspector: function(id) { }
};
/**

Powered by Google App Engine
This is Rietveld 408576698