| OLD | NEW |
| 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2015 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 /** @interface */ | 4 /** @interface */ |
| 5 function InspectorFrontendHostAPI() { | 5 function InspectorFrontendHostAPI() { |
| 6 } | 6 } |
| 7 window.InspectorFrontendHostAPI = InspectorFrontendHostAPI; | 7 window.InspectorFrontendHostAPI = InspectorFrontendHostAPI; |
| 8 /** @typedef | 8 /** @typedef |
| 9 {{ | 9 {{ |
| 10 type: string, | 10 type: string, |
| (...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 * @param {string} action | 256 * @param {string} action |
| 257 */ | 257 */ |
| 258 performActionOnRemotePage(pageId, action) {}, | 258 performActionOnRemotePage(pageId, action) {}, |
| 259 | 259 |
| 260 /** | 260 /** |
| 261 * @param {string} browserId | 261 * @param {string} browserId |
| 262 * @param {string} url | 262 * @param {string} url |
| 263 */ | 263 */ |
| 264 openRemotePage(browserId, url) {}, | 264 openRemotePage(browserId, url) {}, |
| 265 | 265 |
| 266 openNodeFrontend() {}, |
| 267 |
| 266 /** | 268 /** |
| 267 * @param {string} origin | 269 * @param {string} origin |
| 268 * @param {string} script | 270 * @param {string} script |
| 269 */ | 271 */ |
| 270 setInjectedScriptForOrigin(origin, script) {}, | 272 setInjectedScriptForOrigin(origin, script) {}, |
| 271 | 273 |
| 272 /** | 274 /** |
| 273 * @param {boolean} isDocked | 275 * @param {boolean} isDocked |
| 274 * @param {function()} callback | 276 * @param {function()} callback |
| 275 */ | 277 */ |
| (...skipping 28 matching lines...) Expand all Loading... |
| 304 */ | 306 */ |
| 305 isUnderTest() {}, | 307 isUnderTest() {}, |
| 306 | 308 |
| 307 readyForTest() {}, | 309 readyForTest() {}, |
| 308 | 310 |
| 309 /** | 311 /** |
| 310 * @return {boolean} | 312 * @return {boolean} |
| 311 */ | 313 */ |
| 312 isHostedMode() {} | 314 isHostedMode() {} |
| 313 }; | 315 }; |
| OLD | NEW |