| 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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 180 copyText(text) {}, | 180 copyText(text) {}, |
| 181 | 181 |
| 182 /** | 182 /** |
| 183 * @param {string} url | 183 * @param {string} url |
| 184 */ | 184 */ |
| 185 inspectedURLChanged(url) {}, | 185 inspectedURLChanged(url) {}, |
| 186 | 186 |
| 187 /** | 187 /** |
| 188 * @param {string} fileSystemId | 188 * @param {string} fileSystemId |
| 189 * @param {string} registeredName | 189 * @param {string} registeredName |
| 190 * @return {?DOMFileSystem} | 190 * @return {?FileSystem} |
| 191 */ | 191 */ |
| 192 isolatedFileSystem(fileSystemId, registeredName) {}, | 192 isolatedFileSystem(fileSystemId, registeredName) {}, |
| 193 | 193 |
| 194 /** | 194 /** |
| 195 * @param {string} url | 195 * @param {string} url |
| 196 * @param {string} headers | 196 * @param {string} headers |
| 197 * @param {number} streamId | 197 * @param {number} streamId |
| 198 * @param {function(!InspectorFrontendHostAPI.LoadNetworkResourceResult)} call
back | 198 * @param {function(!InspectorFrontendHostAPI.LoadNetworkResourceResult)} call
back |
| 199 */ | 199 */ |
| 200 loadNetworkResource(url, headers, streamId, callback) {}, | 200 loadNetworkResource(url, headers, streamId, callback) {}, |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 */ | 304 */ |
| 305 isUnderTest() {}, | 305 isUnderTest() {}, |
| 306 | 306 |
| 307 readyForTest() {}, | 307 readyForTest() {}, |
| 308 | 308 |
| 309 /** | 309 /** |
| 310 * @return {boolean} | 310 * @return {boolean} |
| 311 */ | 311 */ |
| 312 isHostedMode() {} | 312 isHostedMode() {} |
| 313 }; | 313 }; |
| OLD | NEW |