OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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": "contentSettings", | 7 "namespace": "contentSettings", |
| 8 "compiler_options": { |
| 9 "generate_type_functions": true |
| 10 }, |
8 "types": [ | 11 "types": [ |
9 { | 12 { |
10 "id": "ResourceIdentifier", | 13 "id": "ResourceIdentifier", |
11 "type": "object", | 14 "type": "object", |
12 "properties": { | 15 "properties": { |
13 "id": { | 16 "id": { |
14 "type": "string", | 17 "type": "string", |
15 "description": "The resource identifier for the given content type." | 18 "description": "The resource identifier for the given content type." |
16 }, | 19 }, |
17 "description": { | 20 "description": { |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 "$ref": "ContentSetting", | 215 "$ref": "ContentSetting", |
213 "description": "Whether to allow sites to show desktop notifications. On
e of<br><var>allow</var>: Allow sites to show desktop notifications,<br><var>blo
ck</var>: Don't allow sites to show desktop notifications,<br><var>ask</var>: As
k when a site wants to show desktop notifications. <br>Default is <var>ask</var>
.<br>The primary URL is the main-frame URL. The secondary URL is not used.", | 216 "description": "Whether to allow sites to show desktop notifications. On
e of<br><var>allow</var>: Allow sites to show desktop notifications,<br><var>blo
ck</var>: Don't allow sites to show desktop notifications,<br><var>ask</var>: As
k when a site wants to show desktop notifications. <br>Default is <var>ask</var>
.<br>The primary URL is the main-frame URL. The secondary URL is not used.", |
214 "value": [ | 217 "value": [ |
215 "notifications", | 218 "notifications", |
216 {"type":"string", "enum": ["allow", "block", "ask"]} | 219 {"type":"string", "enum": ["allow", "block", "ask"]} |
217 ] | 220 ] |
218 } | 221 } |
219 } | 222 } |
220 } | 223 } |
221 ] | 224 ] |
OLD | NEW |