| 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 776c8661680402c153d1fff217407a158e31d119..5089a6b2c1942a5a1ef487a361943353f193a228 100644
|
| --- a/chrome/common/extensions/api/extension_api.json
|
| +++ b/chrome/common/extensions/api/extension_api.json
|
| @@ -1142,12 +1142,12 @@
|
| "description": "A URL to navigate the tab to."
|
| },
|
| "selected": {
|
| - "type": "boolean",
|
| + "type": "boolean",
|
| "optional": true,
|
| "description": "Whether the tab should be selected."
|
| },
|
| "pinned": {
|
| - "type": "boolean",
|
| + "type": "boolean",
|
| "optional": true,
|
| "description": "Whether the tab should be pinned."
|
| }
|
| @@ -1457,13 +1457,13 @@
|
| "description": "Fires when a tab is closed. Note: A listener can be registered for this event without requesting the 'tabs' permission in the manifest.",
|
| "parameters": [
|
| {"type": "integer", "name": "tabId", "minimum": 0},
|
| - {
|
| + {
|
| "type": "object",
|
| "name": "removeInfo",
|
| "properties": {
|
| "isWindowClosing": {"type": "boolean", "description": "True when the tab is being closed because its window is being closed." }
|
| - }
|
| - }
|
| + }
|
| + }
|
| ]
|
| }
|
| ]
|
| @@ -3236,12 +3236,12 @@
|
| "name": "callback",
|
| "parameters": [
|
| {
|
| - "name": "enabled",
|
| + "name": "enabled",
|
| "type": "boolean",
|
| "description": "The actual value set. If it is not the one passed in parameter, the value couldn't be changed (e.g. because of security)."
|
| }
|
| ]
|
| - }
|
| + }
|
| ]
|
| },
|
| {
|
| @@ -3376,7 +3376,8 @@
|
| "description": "Dictionary which contains all requested properties",
|
| "properties": {
|
| "hwid": {"type": "string", "optional": "true", "description": "Hardware ID"},
|
| - "homeProvider" : {"type": "string", "optional": "true", "description": "Home provider which is used by the cellular device"}
|
| + "homeProvider" : {"type": "string", "optional": "true", "description": "Home provider which is used by the cellular device"},
|
| + "initialLocale" : {"type": "string", "optional": "true", "description": "Initial locale for the device"}
|
| }
|
| }
|
| ]
|
| @@ -5511,11 +5512,11 @@
|
| "maximum": 65535,
|
| "description": "TCP port number."
|
| },
|
| - {
|
| + {
|
| "type": "function",
|
| "name": "callback",
|
| "parameters": [
|
| - {
|
| + {
|
| "type": "string",
|
| "name": "passport",
|
| "description": "Passport for passing to proxy."
|
|
|