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

Unified Diff: chrome/common/extensions/api/extension_api.json

Issue 6995105: Expose initial_locale via chrome.chromeosInfoPrivate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use initial locale from settings Created 9 years, 6 months 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 side-by-side diff with in-line comments
Download patch
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."

Powered by Google App Engine
This is Rietveld 408576698