OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 { | 6 { |
7 "namespace": "extensionTypes", | 7 "namespace": "extensionTypes", |
8 "description": "The <code>chrome.extensionTypes</code> API contains type dec
larations for Chrome extensions.", | 8 "description": "The <code>chrome.extensionTypes</code> API contains type dec
larations for Chrome extensions.", |
| 9 "compiler_options": {"use_movable_types": true}, |
9 "types": [ | 10 "types": [ |
10 { | 11 { |
11 "id": "ImageFormat", | 12 "id": "ImageFormat", |
12 "type": "string", | 13 "type": "string", |
13 "enum": ["jpeg", "png"], | 14 "enum": ["jpeg", "png"], |
14 "description": "The format of an image." | 15 "description": "The format of an image." |
15 }, | 16 }, |
16 { | 17 { |
17 "id": "ImageDetails", | 18 "id": "ImageDetails", |
18 "type": "object", | 19 "type": "object", |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 "runAt": { | 61 "runAt": { |
61 "$ref": "RunAt", | 62 "$ref": "RunAt", |
62 "optional": true, | 63 "optional": true, |
63 "description": "The soonest that the JavaScript or CSS will be injec
ted into the tab. Defaults to \"document_idle\"." | 64 "description": "The soonest that the JavaScript or CSS will be injec
ted into the tab. Defaults to \"document_idle\"." |
64 } | 65 } |
65 } | 66 } |
66 } | 67 } |
67 ] | 68 ] |
68 } | 69 } |
69 ] | 70 ] |
OLD | NEW |