Chromium Code Reviews| 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", |