| 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 getSelectionBackgroundColor() {}, | 125 getSelectionBackgroundColor() {}, |
| 126 | 126 |
| 127 /** | 127 /** |
| 128 * @return {string} | 128 * @return {string} |
| 129 */ | 129 */ |
| 130 getSelectionForegroundColor() {}, | 130 getSelectionForegroundColor() {}, |
| 131 | 131 |
| 132 /** | 132 /** |
| 133 * Requests inspected page to be placed atop of the inspector frontend with sp
ecified bounds. | 133 * Requests inspected page to be placed atop of the inspector frontend with sp
ecified bounds. |
| 134 * @param {{x: number, y: number, width: number, height: number}} bounds | 134 * @param {{x: number, y: number, width: number, height: number}} bounds |
| 135 * @param {boolean=} force |
| 135 */ | 136 */ |
| 136 setInspectedPageBounds(bounds) {}, | 137 setInspectedPageBounds(bounds, force) {}, |
| 137 | 138 |
| 138 /** | 139 /** |
| 139 * @param {!Array<string>} certChain | 140 * @param {!Array<string>} certChain |
| 140 */ | 141 */ |
| 141 showCertificateViewer(certChain) {}, | 142 showCertificateViewer(certChain) {}, |
| 142 | 143 |
| 143 /** | 144 /** |
| 144 * @param {string} shortcuts | 145 * @param {string} shortcuts |
| 145 */ | 146 */ |
| 146 setWhitelistedShortcuts(shortcuts) {}, | 147 setWhitelistedShortcuts(shortcuts) {}, |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 316 */ | 317 */ |
| 317 isUnderTest() {}, | 318 isUnderTest() {}, |
| 318 | 319 |
| 319 readyForTest() {}, | 320 readyForTest() {}, |
| 320 | 321 |
| 321 /** | 322 /** |
| 322 * @return {boolean} | 323 * @return {boolean} |
| 323 */ | 324 */ |
| 324 isHostedMode() {} | 325 isHostedMode() {} |
| 325 }; | 326 }; |
| OLD | NEW |