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

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

Issue 9309044: Supporting more APIs with json_schema_compiler (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: DictionaryValue* to linked_ptr<DictionaryValue> Created 8 years, 10 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
OLDNEW
1 [ 1 [
2 { 2 {
3 "namespace": "windows", 3 "namespace": "windows",
4 "compile": true,
4 "dependencies": [ "tabs" ], 5 "dependencies": [ "tabs" ],
5 "types": [ 6 "types": [
6 { 7 {
7 "id": "Window", 8 "id": "Window",
8 "type": "object", 9 "type": "object",
9 "properties": { 10 "properties": {
10 "id": {"type": "integer", "minimum": 0, "description": "The ID of the window. Window IDs are unique within a browser session."}, 11 "id": {"type": "integer", "minimum": 0, "description": "The ID of the window. Window IDs are unique within a browser session."},
11 "focused": {"type": "boolean", "description": "Whether the window is c urrently the focused window."}, 12 "focused": {"type": "boolean", "description": "Whether the window is c urrently the focused window."},
12 "top": {"type": "integer", "description": "The offset of the window fr om the top edge of the screen in pixels."}, 13 "top": {"type": "integer", "description": "The offset of the window fr om the top 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."}, 14 "left": {"type": "integer", "description": "The offset of the window f rom the left edge of the screen in pixels."},
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 "name": "onFocusChanged", 261 "name": "onFocusChanged",
261 "type": "function", 262 "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.", 263 "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": [ 264 "parameters": [
264 {"type": "integer", "name": "windowId", "minimum": -1, "description": "ID of the newly focused window."} 265 {"type": "integer", "name": "windowId", "minimum": -1, "description": "ID of the newly focused window."}
265 ] 266 ]
266 } 267 }
267 ] 268 ]
268 } 269 }
269 ] 270 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698