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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/api/content_settings.json
diff --git a/chrome/common/extensions/api/content_settings.json b/chrome/common/extensions/api/content_settings.json
index 9ecc2d7d783c301999178cae6219322ea087f443..143b0a5681f0927c089adc36d1d818e8e90fb19e 100644
--- a/chrome/common/extensions/api/content_settings.json
+++ b/chrome/common/extensions/api/content_settings.json
@@ -228,6 +228,14 @@
"notifications",
{"type":"string", "enum": ["allow", "block", "ask"]}
]
+ },
+ "mouselock": {
+ "$ref": "ContentSetting",
+ "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 when a site wants to disable the mouse cursor. <br>Default is <var>ask</var>.<br>The primary URL is the main-frame URL. The secondary URL is not used.",
+ "value": [
+ "mouselock",
+ {"type":"string", "enum": ["allow", "block", "ask"]}
+ ]
}
}
}

Powered by Google App Engine
This is Rietveld 408576698