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

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. A value of 0 means: use default infobar height.",
asargent_no_longer_on_chrome 2011/08/15 17:23:22 I don't understand why we want to make the propert
Finnur 2011/08/15 19:05:25 Yeah, it is platform dependent. But making it opti
2169 "minimum": 0,
2170 "maximum": 72
2165 } 2171 }
2166 } 2172 }
2167 }, 2173 },
2168 { 2174 {
2169 "type": "function", 2175 "type": "function",
2170 "name": "callback", 2176 "name": "callback",
2171 "optional": true, 2177 "optional": true,
2172 "parameters": [ 2178 "parameters": [
2173 { 2179 {
2174 "name": "window", "$ref": "Window", "description": "Contains det ails about the window in which the infobar was created." 2180 "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.", 7533 "description": "A string result code. The value is non-empty on success only in tests.",
7528 "optional": "true" 7534 "optional": "true"
7529 } 7535 }
7530 ] 7536 ]
7531 } 7537 }
7532 ] 7538 ]
7533 } 7539 }
7534 ] 7540 ]
7535 } 7541 }
7536 ] 7542 ]
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/infobars/extension_infobar.cc ('k') | chrome/common/extensions/docs/experimental.infobars.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698