OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 [ | 1 [ |
6 { | 2 { |
7 "namespace": "windows", | 3 "namespace": "windows", |
8 "dependencies": [ "tabs" ], | 4 "dependencies": [ "tabs" ], |
9 "types": [ | 5 "types": [ |
10 { | 6 { |
11 "id": "Window", | 7 "id": "Window", |
12 "type": "object", | 8 "type": "object", |
13 "properties": { | 9 "properties": { |
14 "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 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
264 "name": "onFocusChanged", | 260 "name": "onFocusChanged", |
265 "type": "function", | 261 "type": "function", |
266 "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.", | 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.", |
267 "parameters": [ | 263 "parameters": [ |
268 {"type": "integer", "name": "windowId", "minimum": -1, "description":
"ID of the newly focused window."} | 264 {"type": "integer", "name": "windowId", "minimum": -1, "description":
"ID of the newly focused window."} |
269 ] | 265 ] |
270 } | 266 } |
271 ] | 267 ] |
272 } | 268 } |
273 ] | 269 ] |
OLD | NEW |