Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(329)

Side by Side Diff: chrome/common/extensions/api/windows.json

Issue 11747025: Run the JSON Schema Compiler's bundle compilation on JSON files. Previously it (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix ms release build Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 [ 5 [
6 { 6 {
7 "namespace": "windows", 7 "namespace": "windows",
8 "compiler_options": {
9 "implemented_in": "chrome/browser/extensions/api/tabs/tabs_api.h"
10 },
8 "dependencies": [ "tabs" ], 11 "dependencies": [ "tabs" ],
9 "types": [ 12 "types": [
10 { 13 {
11 "id": "Window", 14 "id": "Window",
12 "type": "object", 15 "type": "object",
13 "properties": { 16 "properties": {
14 "id": {"type": "integer", "minimum": 0, "description": "The ID of the window. Window IDs are unique within a browser session."}, 17 "id": {"type": "integer", "minimum": 0, "description": "The ID of the window. Window IDs are unique within a browser session."},
15 "focused": {"type": "boolean", "description": "Whether the window is c urrently the focused window."}, 18 "focused": {"type": "boolean", "description": "Whether the window is c urrently the focused window."},
16 "top": {"type": "integer", "description": "The offset of the window fr om the top edge of the screen in pixels."}, 19 "top": {"type": "integer", "description": "The offset of the window fr om the top edge of the screen in pixels."},
17 "left": {"type": "integer", "description": "The offset of the window f rom the left edge of the screen in pixels."}, 20 "left": {"type": "integer", "description": "The offset of the window f rom the left edge of the screen in pixels."},
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 "name": "onFocusChanged", 266 "name": "onFocusChanged",
264 "type": "function", 267 "type": "function",
265 "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.", 268 "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 "parameters": [ 269 "parameters": [
267 {"type": "integer", "name": "windowId", "minimum": -1, "description": "ID of the newly focused window."} 270 {"type": "integer", "name": "windowId", "minimum": -1, "description": "ID of the newly focused window."}
268 ] 271 ]
269 } 272 }
270 ] 273 ]
271 } 274 }
272 ] 275 ]
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/storage.json ('k') | chrome/common/extensions/docs/server2/api_data_source.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698