Chromium Code Reviews| 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": "Use the <code>chrome.contentSettings</code> API to change se ttings that control whether websites can use features such as cookies, JavaScrip t, and plug-ins. More generally speaking, content settings allow you to customiz e Chrome's behavior on a per-site basis instead of globally.", | 8 "description": "Use the <code>chrome.contentSettings</code> API to change se ttings that control whether websites can use features such as cookies, JavaScrip t, and plug-ins. More generally speaking, content settings allow you to customiz e Chrome's behavior on a per-site basis instead of globally.", |
| 9 "compiler_options": { | 9 "compiler_options": { |
| 10 "generate_type_functions": true | 10 "generate_type_functions": true |
| (...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 221 {"type":"string", "enum": ["allow", "block"]} | 221 {"type":"string", "enum": ["allow", "block"]} |
| 222 ] | 222 ] |
| 223 }, | 223 }, |
| 224 "notifications": { | 224 "notifications": { |
| 225 "$ref": "ContentSetting", | 225 "$ref": "ContentSetting", |
| 226 "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.", | 226 "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.", |
| 227 "value": [ | 227 "value": [ |
| 228 "notifications", | 228 "notifications", |
| 229 {"type":"string", "enum": ["allow", "block", "ask"]} | 229 {"type":"string", "enum": ["allow", "block", "ask"]} |
| 230 ] | 230 ] |
| 231 }, | |
| 232 "mouselock": { | |
| 233 "$ref": "ContentSetting", | |
| 234 "description": "Whether to allow sites to disable the mouse cursor. One of <br><var>allow</var>: Allow sites to disable the mouse cursor,<br><var>block< /var>: Don't allow sites to disable the mouse cursor,<br><var>ask</var>: Ask whe n a site wants to disable the mouse cursor. <br>Default is <var>ask</var>.<br>Th e primary URL is the main-frame URL. The secondary URL is not used.", | |
|
Mike West
2015/01/23 11:23:46
Did you verify the behavior of primary/secondary U
msramek
2015/01/23 12:28:47
Verified that the primary url is the main frame on
| |
| 235 "value": [ | |
| 236 "mouselock", | |
| 237 {"type":"string", "enum": ["allow", "block", "ask"]} | |
| 238 ] | |
| 231 } | 239 } |
| 232 } | 240 } |
| 233 } | 241 } |
| 234 ] | 242 ] |
| OLD | NEW |