| 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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 /** | 282 /** |
| 283 * @param {string} panelName |
| 284 */ |
| 285 showPanel: function(panelName) |
| 286 { |
| 287 this._dispatchOnInspectorFrontendAPI("showPanel", [panelName]); |
| 288 }, |
| 289 |
| 290 /** |
| 283 * @param {number} id | 291 * @param {number} id |
| 284 * @param {string} chunk | 292 * @param {string} chunk |
| 285 */ | 293 */ |
| 286 streamWrite: function(id, chunk) | 294 streamWrite: function(id, chunk) |
| 287 { | 295 { |
| 288 this._dispatchOnInspectorFrontendAPI("streamWrite", [id, chunk]); | 296 this._dispatchOnInspectorFrontendAPI("streamWrite", [id, chunk]); |
| 289 }, | 297 }, |
| 290 | 298 |
| 291 frontendAPIAttached: function() | 299 frontendAPIAttached: function() |
| 292 { | 300 { |
| (...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 927 uiTests.testSuiteReady = function(testSuiteConstructor) | 935 uiTests.testSuiteReady = function(testSuiteConstructor) |
| 928 { | 936 { |
| 929 uiTests._testSuite = testSuiteConstructor(window.domAutomationController
); | 937 uiTests._testSuite = testSuiteConstructor(window.domAutomationController
); |
| 930 uiTests._dispatchIfReady(); | 938 uiTests._dispatchIfReady(); |
| 931 }; | 939 }; |
| 932 | 940 |
| 933 window.uiTests = uiTests; | 941 window.uiTests = uiTests; |
| 934 } | 942 } |
| 935 | 943 |
| 936 })(window); | 944 })(window); |
| OLD | NEW |