| OLD | NEW |
| 1 [ | 1 [ |
| 2 { | 2 { |
| 3 "namespace": "windows", | 3 "namespace": "windows", |
| 4 "dependencies": [ "tabs" ], | 4 "dependencies": [ "tabs" ], |
| 5 "types": [ | 5 "types": [ |
| 6 { | 6 { |
| 7 "id": "Window", | 7 "id": "Window", |
| 8 "type": "object", | 8 "type": "object", |
| 9 "properties": { | 9 "properties": { |
| 10 "id": {"type": "integer", "minimum": 0, "description": "The ID of the
window. Window IDs are unique within a browser session."}, | 10 "id": {"type": "integer", "minimum": 0, "description": "The ID of the
window. Window IDs are unique within a browser session."}, |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 137 "parameters": [ | 137 "parameters": [ |
| 138 { | 138 { |
| 139 "name": "windows", "type": "array", "items": { "$ref": "Window"
} | 139 "name": "windows", "type": "array", "items": { "$ref": "Window"
} |
| 140 } | 140 } |
| 141 ] | 141 ] |
| 142 } | 142 } |
| 143 ] | 143 ] |
| 144 }, | 144 }, |
| 145 { | 145 { |
| 146 "name": "create", | 146 "name": "create", |
| 147 "nocompile": true, |
| 147 "type": "function", | 148 "type": "function", |
| 148 "description": "Creates (opens) a new browser with any optional sizing,
position or default URL provided.", | 149 "description": "Creates (opens) a new browser with any optional sizing,
position or default URL provided.", |
| 149 "parameters": [ | 150 "parameters": [ |
| 150 { | 151 { |
| 151 "type": "object", | 152 "type": "object", |
| 152 "name": "createData", | 153 "name": "createData", |
| 153 "properties": { | 154 "properties": { |
| 154 "url": { | 155 "url": { |
| 155 "type": "string", | 156 "type": "string", |
| 156 "description": "A URL or list of URLs to open as tabs in the win
dow. Fully-qualified URLs must include a scheme (i.e. 'http://www.google.com', n
ot 'www.google.com'). Relative URLs will be relative to the current page within
the extension. Defaults to the New Tab Page.", | 157 "description": "A URL or list of URLs to open as tabs in the win
dow. Fully-qualified URLs must include a scheme (i.e. 'http://www.google.com', n
ot 'www.google.com'). Relative URLs will be relative to the current page within
the extension. Defaults to the New Tab Page.", |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 "name": "onFocusChanged", | 261 "name": "onFocusChanged", |
| 261 "type": "function", | 262 "type": "function", |
| 262 "description": "Fired when the currently focused window changes. Will be
chrome.windows.WINDOW_ID_NONE if all chrome windows have lost focus. Note: On s
ome Linux window managers, WINDOW_ID_NONE will always be sent immediately preced
ing a switch from one chrome window to another.", | 263 "description": "Fired when the currently focused window changes. Will be
chrome.windows.WINDOW_ID_NONE if all chrome windows have lost focus. Note: On s
ome Linux window managers, WINDOW_ID_NONE will always be sent immediately preced
ing a switch from one chrome window to another.", |
| 263 "parameters": [ | 264 "parameters": [ |
| 264 {"type": "integer", "name": "windowId", "minimum": -1, "description":
"ID of the newly focused window."} | 265 {"type": "integer", "name": "windowId", "minimum": -1, "description":
"ID of the newly focused window."} |
| 265 ] | 266 ] |
| 266 } | 267 } |
| 267 ] | 268 ] |
| 268 } | 269 } |
| 269 ] | 270 ] |
| OLD | NEW |