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 | 4 |
5 | 5 |
6 /** @interface */ | 6 /** @interface */ |
7 function InspectorFrontendHostAPI() | 7 function InspectorFrontendHostAPI() |
8 { | 8 { |
9 } | 9 } |
10 window.InspectorFrontendHostAPI = InspectorFrontendHostAPI; | 10 window.InspectorFrontendHostAPI = InspectorFrontendHostAPI; |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 */ | 119 */ |
120 getSelectionForegroundColor: function() { }, | 120 getSelectionForegroundColor: function() { }, |
121 | 121 |
122 /** | 122 /** |
123 * Requests inspected page to be placed atop of the inspector frontend with
specified bounds. | 123 * Requests inspected page to be placed atop of the inspector frontend with
specified bounds. |
124 * @param {{x: number, y: number, width: number, height: number}} bounds | 124 * @param {{x: number, y: number, width: number, height: number}} bounds |
125 */ | 125 */ |
126 setInspectedPageBounds: function(bounds) { }, | 126 setInspectedPageBounds: function(bounds) { }, |
127 | 127 |
128 /** | 128 /** |
| 129 * @param {!Array<string>} certChain |
| 130 */ |
| 131 showCertificateViewer: function(certChain) { }, |
| 132 |
| 133 /** |
129 * @param {string} shortcuts | 134 * @param {string} shortcuts |
130 */ | 135 */ |
131 setWhitelistedShortcuts: function(shortcuts) { }, | 136 setWhitelistedShortcuts: function(shortcuts) { }, |
132 | 137 |
133 inspectElementCompleted: function() { }, | 138 inspectElementCompleted: function() { }, |
134 | 139 |
135 /** | 140 /** |
136 * @param {string} url | 141 * @param {string} url |
137 */ | 142 */ |
138 openInNewTab: function(url) { }, | 143 openInNewTab: function(url) { }, |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 */ | 294 */ |
290 isUnderTest: function() { }, | 295 isUnderTest: function() { }, |
291 | 296 |
292 readyForTest: function() { }, | 297 readyForTest: function() { }, |
293 | 298 |
294 /** | 299 /** |
295 * @return {boolean} | 300 * @return {boolean} |
296 */ | 301 */ |
297 isHostedMode: function() { } | 302 isHostedMode: function() { } |
298 } | 303 } |
OLD | NEW |