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 "description": "The content settings module allows you to change settings th
at control whether websites can use features such as cookies, JavaScript, and pl
ug-ins. More generally speaking, content settings allow you to customize Chrome'
s behavior on a per-site basis instead of globally.", |
| 9 "compiler_options": { |
| 10 "generate_type_functions": true |
| 11 }, |
8 "types": [ | 12 "types": [ |
9 { | 13 { |
10 "id": "ResourceIdentifier", | 14 "id": "ResourceIdentifier", |
11 "type": "object", | 15 "type": "object", |
12 "properties": { | 16 "properties": { |
13 "id": { | 17 "id": { |
14 "type": "string", | 18 "type": "string", |
15 "description": "The resource identifier for the given content type." | 19 "description": "The resource identifier for the given content type." |
16 }, | 20 }, |
17 "description": { | 21 "description": { |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 "$ref": "ContentSetting", | 217 "$ref": "ContentSetting", |
214 "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.", | 218 "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.", |
215 "value": [ | 219 "value": [ |
216 "notifications", | 220 "notifications", |
217 {"type":"string", "enum": ["allow", "block", "ask"]} | 221 {"type":"string", "enum": ["allow", "block", "ask"]} |
218 ] | 222 ] |
219 } | 223 } |
220 } | 224 } |
221 } | 225 } |
222 ] | 226 ] |
OLD | NEW |