| Index: chrome/common/extensions/api/extension_api.json
|
| diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json
|
| index 88c566d65bfa4372e1888ea82e0015856b1511de..3a2dcedf527656827a4e6bc63d142299cfcf3a70 100644
|
| --- a/chrome/common/extensions/api/extension_api.json
|
| +++ b/chrome/common/extensions/api/extension_api.json
|
| @@ -4649,6 +4649,34 @@
|
| }
|
| ]
|
| }
|
| + ],
|
| + "events": [
|
| + {
|
| + "name": "onChange",
|
| + "description": "Fired when the value of the preference changes.",
|
| + "parameters": [
|
| + {
|
| + "type": "object",
|
| + "name": "details",
|
| + "properties": {
|
| + "value": {
|
| + "description": "The value of the preference.",
|
| + "type": "any"
|
| + },
|
| + "levelOfControl": {
|
| + "description": "One of<br><var>NotControllable</var>: cannot be controlled by any extension<br><var>ControlledByOtherExtensions</var>: controlled by extensions with higher precedence<br><var>ControllableByThisExtension</var>: can be controlled by this extension<br><var>ControlledByThisExtension</var>: controlled by this extension",
|
| + "type": "string",
|
| + "enum": ["NotControllable", "ControlledByOtherExtensions", "ControllableByThisExtension", "ControlledByThisExtension"]
|
| + },
|
| + "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",
|
| + "optional": true
|
| + }
|
| + }
|
| + }
|
| + ]
|
| + }
|
| ]
|
| }
|
| ]
|
|
|