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

Side by Side Diff: Source/devtools/front_end/devtools_app/InspectorFrontendHostImpl.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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 /** 5 /**
6 * @constructor 6 * @constructor
7 * @implements {InspectorFrontendHostAPI} 7 * @implements {InspectorFrontendHostAPI}
8 */ 8 */
9 WebInspector.InspectorFrontendHostImpl = function() 9 WebInspector.InspectorFrontendHostImpl = function()
10 { 10 {
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 /** 337 /**
338 * @override 338 * @override
339 * @return {boolean} 339 * @return {boolean}
340 */ 340 */
341 isHostedMode: function() 341 isHostedMode: function()
342 { 342 {
343 return DevToolsHost.isHostedMode(); 343 return DevToolsHost.isHostedMode();
344 }, 344 },
345 345
346 /** 346 /**
347 * @override
348 * @param {string} id
349 */
350 openWorkerInspector: function(id)
351 {
352 DevToolsAPI.sendMessageToEmbedder("openWorkerInspector", [id], null);
353 },
354
355 /**
347 * Support for legacy front-ends (<M41). 356 * Support for legacy front-ends (<M41).
348 * @return {string} 357 * @return {string}
349 */ 358 */
350 port: function() 359 port: function()
351 { 360 {
352 return "unknown"; 361 return "unknown";
353 }, 362 },
354 363
355 /** 364 /**
356 * Support for legacy front-ends (<M38). 365 * Support for legacy front-ends (<M38).
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 }, 447 },
439 448
440 /** 449 /**
441 * Support for legacy front-ends (<M28). 450 * Support for legacy front-ends (<M28).
442 * @param {string} url 451 * @param {string} url
443 */ 452 */
444 close: function(url) 453 close: function(url)
445 { 454 {
446 } 455 }
447 } 456 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/devtools.html ('k') | Source/devtools/front_end/host/InspectorFrontendHost.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698