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

Unified Diff: chrome/common/extensions/api/types_private.json

Issue 18341016: Add types.private.ChromeDirectSetting and Connect it to preferencesPrivate.googleGeolocationAccessE… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 6 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
« no previous file with comments | « chrome/common/extensions/api/preferences_private.json ('k') | chrome/common/extensions_api_resources.grd » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/types_private.json
diff --git a/chrome/common/extensions/api/types.json b/chrome/common/extensions/api/types_private.json
similarity index 78%
copy from chrome/common/extensions/api/types.json
copy to chrome/common/extensions/api/types_private.json
index 0ed842874b2f9267864be20bbd6190f4e057d7cc..10df291b7776180e319c5ce1f5995edd3a934424 100644
--- a/chrome/common/extensions/api/types.json
+++ b/chrome/common/extensions/api/types_private.json
@@ -4,15 +4,15 @@
[
{
- "namespace": "types",
- "description": "The <code>chrome.types</code> API contains type declarations for Chrome. Currently, this comprises only a prototype for giving other APIs access to manage Chrome browser settings. This prototype is used, for example, for $ref:proxy.settings.",
+ "namespace": "types.private",
+ "description": "The <code>chrome.types.private</code> API contains private type declarations for Chrome. ",
"types": [
{
- "id": "ChromeSetting",
+ "id": "ChromeDirectSetting",
"type": "object",
- "js_module": "ChromeSetting",
- "customBindings": "ChromeSetting",
- "description": "An interface which allows access to a Chrome browser setting.",
+ "js_module": "ChromeDirectSetting",
+ "customBindings": "ChromeDirectSetting",
+ "description": "An interface which allows component extensions direct access to a Chrome browser setting.",
"functions": [
{
"name": "get",
@@ -44,11 +44,6 @@
"description": "The value of the setting.",
"type": "any"
},
- "levelOfControl": {
- "description": "One of<br><var>not_controllable</var>: cannot be controlled by any extension<br><var>controlled_by_other_extensions</var>: controlled by extensions with higher precedence<br><var>controllable_by_this_extension</var>: can be controlled by this extension<br><var>controlled_by_this_extension</var>: controlled by this extension",
- "type": "string",
- "enum": ["not_controllable", "controlled_by_other_extensions", "controllable_by_this_extension", "controlled_by_this_extension"]
- },
"incognitoSpecific": {
robliao 2013/07/04 00:12:02 Does anyone foresee component extensions requiring
"description": "Whether the effective value is specific to the incognito session.<br>This property will <em>only</em> be present if the <var>incognito</var> property in the <var>details</var> parameter of <code>get()</code> was true.",
"type": "boolean",
@@ -132,11 +127,6 @@
"description": "The value of the setting.",
"type": "any"
},
- "levelOfControl": {
- "description": "One of<br><var>not_controllable</var>: cannot be controlled by any extension<br><var>controlled_by_other_extensions</var>: controlled by extensions with higher precedence<br><var>controllable_by_this_extension</var>: can be controlled by this extension<br><var>controlled_by_this_extension</var>: controlled by this extension",
- "type": "string",
- "enum": ["not_controllable", "controlled_by_other_extensions", "controllable_by_this_extension", "controlled_by_this_extension"]
- },
"incognitoSpecific": {
"description": "Whether the value that has changed is specific to the incognito session.<br>This property will <em>only</em> be present if the user has enabled the extension in incognito mode.",
"type": "boolean",
« no previous file with comments | « chrome/common/extensions/api/preferences_private.json ('k') | chrome/common/extensions_api_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698