| OLD | NEW |
| 1 [ | 1 [ |
| 2 { | 2 { |
| 3 "namespace": "windows", | 3 "namespace": "windows", |
| 4 "description": "The windows API.", |
| 4 "types": [ | 5 "types": [ |
| 5 { | 6 { |
| 6 "id": "Window", | 7 "id": "Window", |
| 7 "type": "object", | 8 "type": "object", |
| 8 "properties": { | 9 "properties": { |
| 9 "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."}, |
| 10 "focused": {"type": "boolean", "description": "Whether the window is c
urrently the focused window."}, | 11 "focused": {"type": "boolean", "description": "Whether the window is c
urrently the focused window."}, |
| 11 "top": {"type": "integer", "description": "The offset of the window fr
om the top edge of the screen in pixels."}, | 12 "top": {"type": "integer", "description": "The offset of the window fr
om the top edge of the screen in pixels."}, |
| 12 "left": {"type": "integer", "description": "The offset of the window f
rom the left 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."}, |
| 13 "width": {"type": "integer", "description": "The width of the window i
n pixels."}, | 14 "width": {"type": "integer", "description": "The width of the window i
n pixels."}, |
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 "name": "onFocusChanged", | 256 "name": "onFocusChanged", |
| 256 "type": "function", | 257 "type": "function", |
| 257 "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.", | 258 "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.", |
| 258 "parameters": [ | 259 "parameters": [ |
| 259 {"type": "integer", "name": "windowId", "minimum": -1, "description":
"ID of the newly focused window."} | 260 {"type": "integer", "name": "windowId", "minimum": -1, "description":
"ID of the newly focused window."} |
| 260 ] | 261 ] |
| 261 } | 262 } |
| 262 ] | 263 ] |
| 263 } | 264 } |
| 264 ] | 265 ] |
| OLD | NEW |