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 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 229 {"type":"string", "enum": ["allow", "block", "ask"]} | 229 {"type":"string", "enum": ["allow", "block", "ask"]} |
| 230 ] | 230 ] |
| 231 }, | 231 }, |
| 232 "mouselock": { | 232 "mouselock": { |
| 233 "$ref": "ContentSetting", | 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 URL of the top-level frame. The secondary URL is not used." , | 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 URL of the top-level frame. The secondary URL is not used." , |
| 235 "value": [ | 235 "value": [ |
| 236 "mouselock", | 236 "mouselock", |
| 237 {"type":"string", "enum": ["allow", "block", "ask"]} | 237 {"type":"string", "enum": ["allow", "block", "ask"]} |
| 238 ] | 238 ] |
| 239 }, | |
| 240 "mediaStreamMic": { | |
|
msramek
2015/01/30 11:57:02
I kept the internal name here, just renamed from d
Mike West
2015/01/30 12:05:59
Renaming for the JS interface seems pretty reasona
| |
| 241 "$ref": "ContentSetting", | |
| 242 "description": "Whether to allow sites to access the microphone. One of <br><var>allow</var>: Allow sites to access the microphone,<br><var>block</var>: Don't allow sites to access the microphone,<br><var>ask</var>: Ask when a site wants to access the microphone. <br>Default is <var>ask</var>.<br>The primary UR L is the URL of the document which requested microphone access. The secondary UR L is not used.", | |
| 243 "value": [ | |
| 244 "media-stream-mic", | |
| 245 {"type":"string", "enum": ["allow", "block", "ask"]} | |
| 246 ] | |
| 239 } | 247 } |
| 240 } | 248 } |
| 241 } | 249 } |
| 242 ] | 250 ] |
| OLD | NEW |