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

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

Issue 2027006: Disallow display of multiple experimental.extension.popup(...) windows... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 10 years, 7 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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 "type": "function", 127 "type": "function",
128 "description": "Returns an array of the JavaScript 'window' objects for each of the pages running inside the current extension.", 128 "description": "Returns an array of the JavaScript 'window' objects for each of the pages running inside the current extension.",
129 "parameters": [ 129 "parameters": [
130 { 130 {
131 "type": "object", 131 "type": "object",
132 "name": "fetchProperties", 132 "name": "fetchProperties",
133 "optional": true, 133 "optional": true,
134 "properties": { 134 "properties": {
135 "type": { 135 "type": {
136 "type": "string", 136 "type": "string",
137 "enum": ["tab", "infobar", "notification"], 137 "enum": ["tab", "infobar", "notification", "popup"],
138 "optional": true, 138 "optional": true,
139 "description": "The type of view to get. If omitted, returns all views (including background pages and tabs). Valid values: 'tab', 'infobar', 'n otification'." 139 "description": "The type of view to get. If omitted, returns all views (including background pages and tabs). Valid values: 'tab', 'infobar', 'n otification', 'popup'."
140 }, 140 },
141 "windowId": { 141 "windowId": {
142 "type": "integer", 142 "type": "integer",
143 "optional": true, 143 "optional": true,
144 "description": "The window to restrict the search to. If omitted , returns all views." 144 "description": "The window to restrict the search to. If omitted , returns all views."
145 } 145 }
146 } 146 }
147 } 147 }
148 ], 148 ],
149 "returns": { 149 "returns": {
(...skipping 2625 matching lines...) Expand 10 before | Expand all | Expand 10 after
2775 "description": "Triggers a paste operation in the specified tab.", 2775 "description": "Triggers a paste operation in the specified tab.",
2776 "parameters": [ 2776 "parameters": [
2777 {"type": "integer", "name": "tabId", "minimum": 0}, 2777 {"type": "integer", "name": "tabId", "minimum": 0},
2778 {"type": "function", "name": "callback", "optional": true, "parameters ": []} 2778 {"type": "function", "name": "callback", "optional": true, "parameters ": []}
2779 ] 2779 ]
2780 } 2780 }
2781 ], 2781 ],
2782 "events": [] 2782 "events": []
2783 } 2783 }
2784 ] 2784 ]
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_view_host_delegate.h ('k') | chrome/common/extensions/docs/extension.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698