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 |
1 [ | 5 [ |
2 { | 6 { |
3 "namespace": "windows", | 7 "namespace": "windows", |
4 "dependencies": [ "tabs" ], | 8 "dependencies": [ "tabs" ], |
5 "types": [ | 9 "types": [ |
6 { | 10 { |
7 "id": "Window", | 11 "id": "Window", |
8 "type": "object", | 12 "type": "object", |
9 "properties": { | 13 "properties": { |
10 "id": {"type": "integer", "minimum": 0, "description": "The ID of the
window. Window IDs are unique within a browser session."}, | 14 "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... |
260 "name": "onFocusChanged", | 264 "name": "onFocusChanged", |
261 "type": "function", | 265 "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.", | 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.", |
263 "parameters": [ | 267 "parameters": [ |
264 {"type": "integer", "name": "windowId", "minimum": -1, "description":
"ID of the newly focused window."} | 268 {"type": "integer", "name": "windowId", "minimum": -1, "description":
"ID of the newly focused window."} |
265 ] | 269 ] |
266 } | 270 } |
267 ] | 271 ] |
268 } | 272 } |
269 ] | 273 ] |
OLD | NEW |