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

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

Issue 12522004: Lazily load extension API schemas (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 9 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": { 8 "compiler_options": {
9 "implemented_in": "chrome/browser/extensions/api/tabs/tabs_api.h" 9 "implemented_in": "chrome/browser/extensions/api/tabs/tabs_api.h"
10 }, 10 },
11 "dependencies": [ "tabs" ],
12 "types": [ 11 "types": [
13 { 12 {
14 "id": "Window", 13 "id": "Window",
15 "type": "object", 14 "type": "object",
16 "properties": { 15 "properties": {
17 "id": {"type": "integer", "optional": true, "minimum": 0, "description ": "The ID of the window. Window IDs are unique within a browser session. Under some circumstances a Window may not be assigned an ID, for example when querying closed windows from the $ref:sessionRestore API."}, 16 "id": {"type": "integer", "optional": true, "minimum": 0, "description ": "The ID of the window. Window IDs are unique within a browser session. Under some circumstances a Window may not be assigned an ID, for example when querying closed windows from the $ref:sessionRestore API."},
18 "focused": {"type": "boolean", "description": "Whether the window is c urrently the focused window."}, 17 "focused": {"type": "boolean", "description": "Whether the window is c urrently the focused window."},
19 "top": {"type": "integer", "optional": true, "description": "The offse t of the window from the top edge of the screen in pixels. Under some circumstan ces a Window may not be assigned top property, for example when querying closed windows from the $ref:sessionRestore API."}, 18 "top": {"type": "integer", "optional": true, "description": "The offse t of the window from the top edge of the screen in pixels. Under some circumstan ces a Window may not be assigned top property, for example when querying closed windows from the $ref:sessionRestore API."},
20 "left": {"type": "integer", "optional": true, "description": "The offs et of the window from the left edge of the screen in pixels. Under some circumst ances a Window may not be assigned left property, for example when querying clos ed windows from the $ref:sessionRestore API."}, 19 "left": {"type": "integer", "optional": true, "description": "The offs et of the window from the left edge of the screen in pixels. Under some circumst ances a Window may not be assigned left property, for example when querying clos ed windows from the $ref:sessionRestore API."},
21 "width": {"type": "integer", "optional": true, "description": "The wid th of the window in pixels. Under some circumstances a Window may not be assigne d width property, for example when querying closed windows from the $ref:session Restore API."}, 20 "width": {"type": "integer", "optional": true, "description": "The wid th of the window in pixels. Under some circumstances a Window may not be assigne d width property, for example when querying closed windows from the $ref:session Restore API."},
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 "name": "onFocusChanged", 267 "name": "onFocusChanged",
269 "type": "function", 268 "type": "function",
270 "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.", 269 "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.",
271 "parameters": [ 270 "parameters": [
272 {"type": "integer", "name": "windowId", "minimum": -1, "description": "ID of the newly focused window."} 271 {"type": "integer", "name": "windowId", "minimum": -1, "description": "ID of the newly focused window."}
273 ] 272 ]
274 } 273 }
275 ] 274 ]
276 } 275 }
277 ] 276 ]
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/webview.json ('k') | chrome/common/extensions/features/complex_feature.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698