| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 393 /** | 393 /** |
| 394 * @override | 394 * @override |
| 395 * @param {string} browserId | 395 * @param {string} browserId |
| 396 * @param {string} url | 396 * @param {string} url |
| 397 */ | 397 */ |
| 398 openRemotePage(browserId, url) { | 398 openRemotePage(browserId, url) { |
| 399 } | 399 } |
| 400 | 400 |
| 401 /** | 401 /** |
| 402 * @override | 402 * @override |
| 403 */ |
| 404 openNodeFrontend() { |
| 405 } |
| 406 |
| 407 /** |
| 408 * @override |
| 403 * @param {number} x | 409 * @param {number} x |
| 404 * @param {number} y | 410 * @param {number} y |
| 405 * @param {!Array.<!InspectorFrontendHostAPI.ContextMenuDescriptor>} items | 411 * @param {!Array.<!InspectorFrontendHostAPI.ContextMenuDescriptor>} items |
| 406 * @param {!Document} document | 412 * @param {!Document} document |
| 407 */ | 413 */ |
| 408 showContextMenuAtPoint(x, y, items, document) { | 414 showContextMenuAtPoint(x, y, items, document) { |
| 409 throw 'Soft context menu should be used'; | 415 throw 'Soft context menu should be used'; |
| 410 } | 416 } |
| 411 | 417 |
| 412 /** | 418 /** |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 528 * @return {boolean} | 534 * @return {boolean} |
| 529 */ | 535 */ |
| 530 Host.isUnderTest = function(prefs) { | 536 Host.isUnderTest = function(prefs) { |
| 531 if (InspectorFrontendHost.isUnderTest()) | 537 if (InspectorFrontendHost.isUnderTest()) |
| 532 return true; | 538 return true; |
| 533 | 539 |
| 534 if (prefs) | 540 if (prefs) |
| 535 return prefs['isUnderTest'] === 'true'; | 541 return prefs['isUnderTest'] === 'true'; |
| 536 return Common.settings.createSetting('isUnderTest', false).get(); | 542 return Common.settings.createSetting('isUnderTest', false).get(); |
| 537 }; | 543 }; |
| OLD | NEW |