| 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 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 332 } | 332 } |
| 333 | 333 |
| 334 /** | 334 /** |
| 335 * @override | 335 * @override |
| 336 * @param {string} shortcuts | 336 * @param {string} shortcuts |
| 337 */ | 337 */ |
| 338 setWhitelistedShortcuts(shortcuts) { | 338 setWhitelistedShortcuts(shortcuts) { |
| 339 } | 339 } |
| 340 | 340 |
| 341 /** | 341 /** |
| 342 * @override |
| 343 * @param {boolean} active |
| 344 */ |
| 345 setEyeDropperActive(active) { |
| 346 } |
| 347 |
| 348 /** |
| 342 * @param {!Array<string>} certChain | 349 * @param {!Array<string>} certChain |
| 343 * @override | 350 * @override |
| 344 */ | 351 */ |
| 345 showCertificateViewer(certChain) { | 352 showCertificateViewer(certChain) { |
| 346 } | 353 } |
| 347 | 354 |
| 348 /** | 355 /** |
| 349 * @override | 356 * @override |
| 350 * @return {boolean} | 357 * @return {boolean} |
| 351 */ | 358 */ |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 534 * @return {boolean} | 541 * @return {boolean} |
| 535 */ | 542 */ |
| 536 Host.isUnderTest = function(prefs) { | 543 Host.isUnderTest = function(prefs) { |
| 537 if (InspectorFrontendHost.isUnderTest()) | 544 if (InspectorFrontendHost.isUnderTest()) |
| 538 return true; | 545 return true; |
| 539 | 546 |
| 540 if (prefs) | 547 if (prefs) |
| 541 return prefs['isUnderTest'] === 'true'; | 548 return prefs['isUnderTest'] === 'true'; |
| 542 return Common.settings.createSetting('isUnderTest', false).get(); | 549 return Common.settings.createSetting('isUnderTest', false).get(); |
| 543 }; | 550 }; |
| OLD | NEW |