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 window.InspectorFrontendHostAPI = function() | 7 function InspectorFrontendHostAPI() |
8 { | 8 { |
9 } | 9 } |
10 | 10 window.InspectorFrontendHostAPI = InspectorFrontendHostAPI; |
11 /** @typedef | 11 /** @typedef |
12 {{ | 12 {{ |
13 type: string, | 13 type: string, |
14 id: (number|undefined), | 14 id: (number|undefined), |
15 label: (string|undefined), | 15 label: (string|undefined), |
16 enabled: (boolean|undefined), | 16 enabled: (boolean|undefined), |
17 checked: (boolean|undefined), | 17 checked: (boolean|undefined), |
18 subItems: (!Array.<!InspectorFrontendHostAPI.ContextMenuDescriptor>|undefine
d) | 18 subItems: (!Array.<!InspectorFrontendHostAPI.ContextMenuDescriptor>|undefine
d) |
19 }} */ | 19 }} */ |
20 InspectorFrontendHostAPI.ContextMenuDescriptor; | 20 InspectorFrontendHostAPI.ContextMenuDescriptor; |
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 */ | 288 */ |
289 isUnderTest: function() { }, | 289 isUnderTest: function() { }, |
290 | 290 |
291 readyForTest: function() { }, | 291 readyForTest: function() { }, |
292 | 292 |
293 /** | 293 /** |
294 * @return {boolean} | 294 * @return {boolean} |
295 */ | 295 */ |
296 isHostedMode: function() { } | 296 isHostedMode: function() { } |
297 } | 297 } |
OLD | NEW |