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

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

Issue 3129003: remove toolstrips (Closed)
Patch Set: merge Created 10 years, 4 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 unified diff | Download patch
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | chrome/common/extensions/extension.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 [ 1 [
2 { 2 {
3 "namespace": "extension", 3 "namespace": "extension",
4 "unprivileged": true, 4 "unprivileged": true,
5 "types": [ 5 "types": [
6 { 6 {
7 "id": "MessageSender", 7 "id": "MessageSender",
8 "type": "object", 8 "type": "object",
9 "description": "An object containing information about the script contex t that sent a message or request.", 9 "description": "An object containing information about the script contex t that sent a message or request.",
10 "properties": { 10 "properties": {
(...skipping 2130 matching lines...) Expand 10 before | Expand all | Expand 10 after
2141 { 2141 {
2142 "name": "newState", 2142 "name": "newState",
2143 "type": "string", 2143 "type": "string",
2144 "enum": ["active"] 2144 "enum": ["active"]
2145 } 2145 }
2146 ] 2146 ]
2147 } 2147 }
2148 ] 2148 ]
2149 }, 2149 },
2150 { 2150 {
2151 "namespace": "toolstrip",
2152 "nodoc": true,
2153 "types": [],
2154 "functions": [
2155 {
2156 "name": "expand",
2157 "type": "function",
2158 "description": "",
2159 "parameters": [
2160 {
2161 "type": "object",
2162 "name": "expandInfo",
2163 "properties": {
2164 "height": { "type": "integer", "minimum": 0, "description": "The v ertical pixel height required of the toolstrip area." },
2165 "url": { "type": "string", "optional": true, "description": "If pr esent, the toolstrip mole will change it's content to the provided URL. Otherwis e, the current page will just be expanded in size." }
2166 }
2167 },
2168 {"type": "function", "name": "callback", "optional": true, "parameters ": []}
2169 ]
2170 },
2171 {
2172 "name": "collapse",
2173 "type": "function",
2174 "description": "",
2175 "parameters": [
2176 {
2177 "type": "object",
2178 "name": "collapseInfo",
2179 "optional": true,
2180 "properties": {
2181 "url": { "type": "string", "optional": true, "description": "If pr esent, the toolstrip mole will change it's content to the provided URL. Otherwis e, the current page will just be collapsed in size." }
2182 }
2183 },
2184 {"type": "function", "name": "callback", "optional": true, "parameters ": []}
2185 ]
2186 }
2187 ],
2188 "events": []
2189 },
2190 {
2191 "namespace": "i18n", 2151 "namespace": "i18n",
2192 "unprivileged": true, 2152 "unprivileged": true,
2193 "types": [], 2153 "types": [],
2194 "functions": [ 2154 "functions": [
2195 { 2155 {
2196 "name": "getAcceptLanguages", 2156 "name": "getAcceptLanguages",
2197 "type": "function", 2157 "type": "function",
2198 "description": "Gets the accept-languages of the browser. This is differ ent from the locale used by the browser; to get the locale, use <code>window.nav igator.language</code>.", 2158 "description": "Gets the accept-languages of the browser. This is differ ent from the locale used by the browser; to get the locale, use <code>window.nav igator.language</code>.",
2199 "parameters": [ 2159 "parameters": [
2200 { 2160 {
(...skipping 1439 matching lines...) Expand 10 before | Expand all | Expand 10 after
3640 { 3600 {
3641 "name": "onInputCancelled", 3601 "name": "onInputCancelled",
3642 "perExtensionEvent": true, 3602 "perExtensionEvent": true,
3643 "type": "function", 3603 "type": "function",
3644 "description": "User has ended the keyword input session without accepti ng the input.", 3604 "description": "User has ended the keyword input session without accepti ng the input.",
3645 "parameters": [] 3605 "parameters": []
3646 } 3606 }
3647 ] 3607 ]
3648 } 3608 }
3649 ] 3609 ]
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | chrome/common/extensions/extension.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698