| OLD | NEW |
| 1 [ | 1 [ |
| 2 { | 2 { |
| 3 "namespace": "windows", | 3 "namespace": "windows", |
| 4 "types": [ | 4 "types": [ |
| 5 { | 5 { |
| 6 "id": "Window", | 6 "id": "Window", |
| 7 "type": "object", | 7 "type": "object", |
| 8 "properties": { | 8 "properties": { |
| 9 "id": {"type": "integer", "minimum": 0, "description": "The ID of the
window. Window IDs are unique within a browser session."}, | 9 "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."}, | 10 "focused": {"type": "boolean", "description": "Whether the window is c
urrently the focused window."}, |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 "enum": ["normal", "minimized", "maximized"] | 25 "enum": ["normal", "minimized", "maximized"] |
| 26 } | 26 } |
| 27 } | 27 } |
| 28 } | 28 } |
| 29 ], | 29 ], |
| 30 "properties": { | 30 "properties": { |
| 31 "WINDOW_ID_NONE": { | 31 "WINDOW_ID_NONE": { |
| 32 "type": "integer", | 32 "type": "integer", |
| 33 "value": "-1", | 33 "value": "-1", |
| 34 "description": "The windowId value that represents the absence of a chro
me browser window." | 34 "description": "The windowId value that represents the absence of a chro
me browser window." |
| 35 }, |
| 36 "WINDOW_ID_CURRENT": { |
| 37 "type": "integer", |
| 38 "value": "-2", |
| 39 "description": "The windowId value that represents the <a href='windows.
html#current-window'>current window</a>." |
| 35 } | 40 } |
| 36 }, | 41 }, |
| 37 "functions": [ | 42 "functions": [ |
| 38 { | 43 { |
| 39 "name": "get", | 44 "name": "get", |
| 40 "type": "function", | 45 "type": "function", |
| 41 "description": "Gets details about a window.", | 46 "description": "Gets details about a window.", |
| 42 "parameters": [ | 47 "parameters": [ |
| 43 {"type": "integer", "name": "windowId", "minimum": 0}, | 48 {"type": "integer", "name": "windowId", "minimum": 0}, |
| 44 { | 49 { |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 "name": "onFocusChanged", | 259 "name": "onFocusChanged", |
| 255 "type": "function", | 260 "type": "function", |
| 256 "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.", | 261 "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.", |
| 257 "parameters": [ | 262 "parameters": [ |
| 258 {"type": "integer", "name": "windowId", "minimum": -1, "description":
"ID of the newly focused window."} | 263 {"type": "integer", "name": "windowId", "minimum": -1, "description":
"ID of the newly focused window."} |
| 259 ] | 264 ] |
| 260 } | 265 } |
| 261 ] | 266 ] |
| 262 } | 267 } |
| 263 ] | 268 ] |
| OLD | NEW |