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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 | 198 |
199 /** | 199 /** |
200 * @param {{type: string, keyIdentifier: string, keyCode: number, modifiers:
number}} event | 200 * @param {{type: string, keyIdentifier: string, keyCode: number, modifiers:
number}} event |
201 */ | 201 */ |
202 keyEventUnhandled: function(event) | 202 keyEventUnhandled: function(event) |
203 { | 203 { |
204 this._dispatchOnInspectorFrontendAPI("keyEventUnhandled", [event]); | 204 this._dispatchOnInspectorFrontendAPI("keyEventUnhandled", [event]); |
205 }, | 205 }, |
206 | 206 |
207 /** | 207 /** |
| 208 * @param {boolean} hard |
| 209 */ |
| 210 reloadInspectedPage: function(hard) |
| 211 { |
| 212 this._dispatchOnInspectorFrontendAPI("reloadInspectedPage", [hard]); |
| 213 }, |
| 214 |
| 215 /** |
208 * @param {string} url | 216 * @param {string} url |
209 * @param {number} lineNumber | 217 * @param {number} lineNumber |
210 * @param {number} columnNumber | 218 * @param {number} columnNumber |
211 */ | 219 */ |
212 revealSourceLine: function(url, lineNumber, columnNumber) | 220 revealSourceLine: function(url, lineNumber, columnNumber) |
213 { | 221 { |
214 this._dispatchOnInspectorFrontendAPI("revealSourceLine", [url, lineNumbe
r, columnNumber]); | 222 this._dispatchOnInspectorFrontendAPI("revealSourceLine", [url, lineNumbe
r, columnNumber]); |
215 }, | 223 }, |
216 | 224 |
217 /** | 225 /** |
(...skipping 625 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
843 uiTests.testSuiteReady = function(testSuiteConstructor, testBase) | 851 uiTests.testSuiteReady = function(testSuiteConstructor, testBase) |
844 { | 852 { |
845 uiTests._testSuite = testSuiteConstructor(window.domAutomationController
); | 853 uiTests._testSuite = testSuiteConstructor(window.domAutomationController
); |
846 uiTests._tryRun(); | 854 uiTests._tryRun(); |
847 }; | 855 }; |
848 | 856 |
849 window.uiTests = uiTests; | 857 window.uiTests = uiTests; |
850 } | 858 } |
851 | 859 |
852 })(window); | 860 })(window); |
OLD | NEW |