OLD | NEW |
---|---|
1 [ | 1 [ |
2 { | 2 { |
3 "namespace": "windows", | 3 "namespace": "windows", |
4 "generate": true, | |
not at google - send to devlin
2012/01/12 06:01:05
ditto, revert.
calamity
2012/01/12 22:59:20
Done.
| |
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 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
254 "name": "onFocusChanged", | 255 "name": "onFocusChanged", |
255 "type": "function", | 256 "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.", | 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.", |
257 "parameters": [ | 258 "parameters": [ |
258 {"type": "integer", "name": "windowId", "minimum": -1, "description": "ID of the newly focused window."} | 259 {"type": "integer", "name": "windowId", "minimum": -1, "description": "ID of the newly focused window."} |
259 ] | 260 ] |
260 } | 261 } |
261 ] | 262 ] |
262 } | 263 } |
263 ] | 264 ] |
OLD | NEW |