| 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 (function(window) { | 5 (function(window) { |
| 6 | 6 |
| 7 // DevToolsAPI ---------------------------------------------------------------- | 7 // DevToolsAPI ---------------------------------------------------------------- |
| 8 | 8 |
| 9 /** | 9 /** |
| 10 * @constructor | 10 * @constructor |
| (...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 272 setUseSoftMenu: function(useSoftMenu) | 272 setUseSoftMenu: function(useSoftMenu) |
| 273 { | 273 { |
| 274 this._dispatchOnInspectorFrontendAPI("setUseSoftMenu", [useSoftMenu]); | 274 this._dispatchOnInspectorFrontendAPI("setUseSoftMenu", [useSoftMenu]); |
| 275 }, | 275 }, |
| 276 | 276 |
| 277 showConsole: function() | 277 showConsole: function() |
| 278 { | 278 { |
| 279 this._dispatchOnInspectorFrontendAPI("showConsole", []); | 279 this._dispatchOnInspectorFrontendAPI("showConsole", []); |
| 280 }, | 280 }, |
| 281 | 281 |
| 282 showSecurityPanel: function() |
| 283 { |
| 284 this._dispatchOnInspectorFrontendAPI("showSecurityPanel", []); |
| 285 }, |
| 286 |
| 282 /** | 287 /** |
| 283 * @param {number} id | 288 * @param {number} id |
| 284 * @param {string} chunk | 289 * @param {string} chunk |
| 285 */ | 290 */ |
| 286 streamWrite: function(id, chunk) | 291 streamWrite: function(id, chunk) |
| 287 { | 292 { |
| 288 this._dispatchOnInspectorFrontendAPI("streamWrite", [id, chunk]); | 293 this._dispatchOnInspectorFrontendAPI("streamWrite", [id, chunk]); |
| 289 }, | 294 }, |
| 290 | 295 |
| 291 frontendAPIAttached: function() | 296 frontendAPIAttached: function() |
| (...skipping 635 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 927 uiTests.testSuiteReady = function(testSuiteConstructor) | 932 uiTests.testSuiteReady = function(testSuiteConstructor) |
| 928 { | 933 { |
| 929 uiTests._testSuite = testSuiteConstructor(window.domAutomationController
); | 934 uiTests._testSuite = testSuiteConstructor(window.domAutomationController
); |
| 930 uiTests._dispatchIfReady(); | 935 uiTests._dispatchIfReady(); |
| 931 }; | 936 }; |
| 932 | 937 |
| 933 window.uiTests = uiTests; | 938 window.uiTests = uiTests; |
| 934 } | 939 } |
| 935 | 940 |
| 936 })(window); | 941 })(window); |
| OLD | NEW |