Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Side by Side Diff: chrome/common/extensions/api/content_settings.json

Issue 870573002: Exposed mouselock content setting to extensions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added TODO. Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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.",
235 "value": [
236 "mouselock",
237 {"type":"string", "enum": ["allow", "block", "ask"]}
238 ]
231 } 239 }
232 } 240 }
233 } 241 }
234 ] 242 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698