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

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

Issue 159067: Add API: getBackgroundPageView and getToolstripViews (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 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 "types": [ 4 "types": [
5 { 5 {
6 "id": "Port", 6 "id": "Port",
7 "type": "object", 7 "type": "object",
8 "description": "An object which allows two way communication with other pages.", 8 "description": "An object which allows two way communication with other pages.",
9 "properties": { 9 "properties": {
10 "name": {"type": "string"}, 10 "name": {"type": "string"},
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 "type": "function", 80 "type": "function",
81 "description": "Returns an array of the global JavaScript objects for ea ch of the tab contents views running inside the current extension. If windowId i s specified, returns only the tab contentses attached to the specified window.", 81 "description": "Returns an array of the global JavaScript objects for ea ch of the tab contents views running inside the current extension. If windowId i s specified, returns only the tab contentses attached to the specified window.",
82 "parameters": [ 82 "parameters": [
83 {"type": "integer", "name": "windowId", "optional": true} 83 {"type": "integer", "name": "windowId", "optional": true}
84 ], 84 ],
85 "returns": { 85 "returns": {
86 "type": "array", 86 "type": "array",
87 "description": "Array of global objects", 87 "description": "Array of global objects",
88 "items": { "type": "object" } 88 "items": { "type": "object" }
89 } 89 }
90 },
91 {
92 "name": "executeScriptCode",
93 "type": "function",
94 "description": "",
95 "parameters": [
96 {"type": "string", "name": "scriptCode", "optional": false}
97 ],
98 "returns": {
99 "type": "boolean",
100 "description": "Whether this call is successfull"
101 }
102 },
103 {
104 "name": "executeScriptWithUrl",
105 "type": "function",
106 "description": "",
107 "parameters": [
108 {"type": "string", "name": "scriptUrl", "optional": false}
109 ],
110 "returns": {
111 "type": "boolean",
112 "description": "Whether this call is successfull"
113 }
90 } 114 }
91 ], 115 ],
92 "events": [ 116 "events": [
93 { 117 {
94 "name": "onConnect", 118 "name": "onConnect",
95 "type": "function", 119 "type": "function",
96 "description": "Fired when a connection is made from either an extension process or a content script.", 120 "description": "Fired when a connection is made from either an extension process or a content script.",
97 "parameters": [ 121 "parameters": [
98 {"$ref": "Port", "name": "port"} 122 {"$ref": "Port", "name": "port"}
99 ] 123 ]
(...skipping 804 matching lines...) Expand 10 before | Expand all | Expand 10 after
904 { 928 {
905 "name": "pass", 929 "name": "pass",
906 "type": "function", 930 "type": "function",
907 "description": "Notify the browser process that test code running in the extension passed. This is only used for internal unit testing.", 931 "description": "Notify the browser process that test code running in the extension passed. This is only used for internal unit testing.",
908 "parameters": [] 932 "parameters": []
909 } 933 }
910 ], 934 ],
911 "events": [] 935 "events": []
912 } 936 }
913 ] 937 ]
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_tabs_module_constants.cc ('k') | chrome/renderer/extensions/extension_process_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698