| Index: chrome/common/extensions/api/experimental.managedMode.json
|
| ===================================================================
|
| --- chrome/common/extensions/api/experimental.managedMode.json (revision 0)
|
| +++ chrome/common/extensions/api/experimental.managedMode.json (revision 0)
|
| @@ -0,0 +1,62 @@
|
| +[
|
| + {
|
| + "namespace": "experimental.managedMode",
|
| + "functions": [
|
| + {
|
| + "name": "enable",
|
| + "type": "function",
|
| + "description": "Shows a confirmation dialog, then puts the browser into managed mode. The callback parameter will be true if managed mode was entered successfully, false if the user cancelled the confirmation.<br>Extensions cannot disable managed mode. This must be done by the user from within the browser itself.",
|
| + "parameters": [
|
| + {
|
| + "type": "function",
|
| + "name": "callback",
|
| + "optional": true,
|
| + "parameters": [
|
| + {
|
| + "name": "result",
|
| + "type": "object",
|
| + "description": "The result of the attempt to enable managed mode.",
|
| + "properties": {
|
| + "success": {
|
| + "description": "True if managed mode was entered successfully, false if the user cancelled the confirmation.",
|
| + "type": "boolean"
|
| + }
|
| + }
|
| + }
|
| + ]
|
| + }
|
| + ]
|
| + },
|
| + {
|
| + "name": "get",
|
| + "type": "function",
|
| + "description": "Gets the value of the setting describing whether managed mode is enabled.",
|
| + "parameters": [
|
| + {
|
| + "type": "function",
|
| + "name": "callback",
|
| + "description": "This callback function is similar to <a href='types.html#method-ChromeSetting-get'>that used by a ChromeSetting</a>, except that the <code>incognitoSpecific</code> parameter will never be present and only a subset of the values of <code>levelOfControl</code> are possible.",
|
| + "parameters": [
|
| + {
|
| + "name": "details",
|
| + "type": "object",
|
| + "description": "Details of the currently effective value.",
|
| + "properties": {
|
| + "value": {
|
| + "description": "The value of the setting.",
|
| + "type": "boolean"
|
| + },
|
| + "levelOfControl": {
|
| + "description": "One of<br><var>not_controllable</var>: cannot be controlled by any extension<br><var>controllable_by_this_extension</var>: can be controlled by this extension",
|
| + "type": "string",
|
| + "enum": ["not_controllable", "controllable_by_this_extension"]
|
| + }
|
| + }
|
| + }
|
| + ]
|
| + }
|
| + ]
|
| + }
|
| + ]
|
| + }
|
| +]
|
|
|
| Property changes on: chrome\common\extensions\api\experimental.managedMode.json
|
| ___________________________________________________________________
|
| Added: svn:eol-style
|
| + LF
|
|
|
|
|