OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "namespace": "windows", | 3 "namespace": "windows", |
| 4 "compile": true, |
4 "dependencies": [ "tabs" ], | 5 "dependencies": [ "tabs" ], |
5 "types": [ | 6 "types": [ |
6 { | 7 { |
7 "id": "Window", | 8 "id": "Window", |
8 "type": "object", | 9 "type": "object", |
9 "properties": { | 10 "properties": { |
10 "id": {"type": "integer", "minimum": 0, "description": "The ID of the
window. Window IDs are unique within a browser session."}, | 11 "id": {"type": "integer", "minimum": 0, "description": "The ID of the
window. Window IDs are unique within a browser session."}, |
11 "focused": {"type": "boolean", "description": "Whether the window is c
urrently the focused window."}, | 12 "focused": {"type": "boolean", "description": "Whether the window is c
urrently the focused window."}, |
12 "top": {"type": "integer", "description": "The offset of the window fr
om the top edge of the screen in pixels."}, | 13 "top": {"type": "integer", "description": "The offset of the window fr
om the top edge of the screen in pixels."}, |
13 "left": {"type": "integer", "description": "The offset of the window f
rom the left edge of the screen in pixels."}, | 14 "left": {"type": "integer", "description": "The offset of the window f
rom the left edge of the screen in pixels."}, |
(...skipping 246 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 |