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

Side by Side Diff: chrome/common/extensions/api/extension_api.json

Issue 8662008: Implement chrome.systemPrivate.getIncognitoModeAvailability extension API function (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments, fixed bug Created 9 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 [ 1 [
2 { 2 {
3 "namespace": "extension", 3 "namespace": "extension",
4 "types": [ 4 "types": [
5 { 5 {
6 "id": "MessageSender", 6 "id": "MessageSender",
7 "type": "object", 7 "type": "object",
8 "description": "An object containing information about the script contex t that sent a message or request.", 8 "description": "An object containing information about the script contex t that sent a message or request.",
9 "properties": { 9 "properties": {
10 "tab": {"$ref": "Tab", "optional": true, "description":"This property will <b>only</b> be present when the connection was opened from a tab or content script."}, 10 "tab": {"$ref": "Tab", "optional": true, "description":"This property will <b>only</b> be present when the connection was opened from a tab or content script."},
(...skipping 1165 matching lines...) Expand 10 before | Expand all | Expand 10 after
1176 "enum": ["normal", "minimized", "maximized"] 1176 "enum": ["normal", "minimized", "maximized"]
1177 } 1177 }
1178 } 1178 }
1179 } 1179 }
1180 ], 1180 ],
1181 "properties": { 1181 "properties": {
1182 "WINDOW_ID_NONE": { 1182 "WINDOW_ID_NONE": {
1183 "type": "integer", 1183 "type": "integer",
1184 "value": "-1", 1184 "value": "-1",
1185 "description": "The windowId value that represents the absence of a chro me browser window." 1185 "description": "The windowId value that represents the absence of a chro me browser window."
1186 },
1187 "incognitoModeAvailability": {
1188 "$ref": "ChromeSetting",
1189 "value": ["incognitoModeAvailability", {"type": "string", "enum": ["enab led", "disabled", "forced"]}],
1190 "description": "Read-only property that exposes whether the incognito mo de is available to windows. One of 'enabled', 'disabled' (user cannot browse pag es in Incognito mode), 'forced' (all pages/sessions are forced into Incognito mo de)."
1186 } 1191 }
1187 }, 1192 },
1188 "functions": [ 1193 "functions": [
1189 { 1194 {
1190 "name": "get", 1195 "name": "get",
1191 "type": "function", 1196 "type": "function",
1192 "description": "Gets details about a window.", 1197 "description": "Gets details about a window.",
1193 "parameters": [ 1198 "parameters": [
1194 {"type": "integer", "name": "windowId", "minimum": 0}, 1199 {"type": "integer", "name": "windowId", "minimum": 0},
1195 { 1200 {
(...skipping 8039 matching lines...) Expand 10 before | Expand all | Expand 10 after
9235 } 9240 }
9236 } 9241 }
9237 } 9242 }
9238 ] 9243 ]
9239 } 9244 }
9240 ] 9245 ]
9241 } 9246 }
9242 ] 9247 ]
9243 } 9248 }
9244 ] 9249 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698