| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |