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

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

Issue 7635019: Set Extension Infobars to have a fixed height determined by the developer (clamped to sane min an... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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 | Annotate | Revision Log
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 2144 matching lines...) Expand 10 before | Expand all | Expand 10 after
2155 "name": "details", 2155 "name": "details",
2156 "type": "object", 2156 "type": "object",
2157 "properties": { 2157 "properties": {
2158 "tabId": { 2158 "tabId": {
2159 "type": "integer", 2159 "type": "integer",
2160 "description": "The tab id for the tab to display the infobar in ." 2160 "description": "The tab id for the tab to display the infobar in ."
2161 }, 2161 },
2162 "path": { 2162 "path": {
2163 "type": "string", 2163 "type": "string",
2164 "description": "The html file that contains the infobar." 2164 "description": "The html file that contains the infobar."
2165 },
2166 "height": {
2167 "type": "integer",
2168 "description": "The height (in pixels) of the infobar to show. I f omitted, the default infobar height will be used.",
2169 "optional": true,
2170 "minimum": 0,
2171 "maximum": 72
2165 } 2172 }
2166 } 2173 }
2167 }, 2174 },
2168 { 2175 {
2169 "type": "function", 2176 "type": "function",
2170 "name": "callback", 2177 "name": "callback",
2171 "optional": true, 2178 "optional": true,
2172 "parameters": [ 2179 "parameters": [
2173 { 2180 {
2174 "name": "window", "$ref": "Window", "description": "Contains det ails about the window in which the infobar was created." 2181 "name": "window", "$ref": "Window", "description": "Contains det ails about the window in which the infobar was created."
(...skipping 5352 matching lines...) Expand 10 before | Expand all | Expand 10 after
7527 "description": "A string result code. The value is non-empty on success only in tests.", 7534 "description": "A string result code. The value is non-empty on success only in tests.",
7528 "optional": "true" 7535 "optional": "true"
7529 } 7536 }
7530 ] 7537 ]
7531 } 7538 }
7532 ] 7539 ]
7533 } 7540 }
7534 ] 7541 ]
7535 } 7542 }
7536 ] 7543 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698