OLD | NEW |
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 Loading... |
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 Loading... |
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 ] |
OLD | NEW |