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

Side by Side Diff: tools/json_schema_compiler/test/windows.json

Issue 9114036: Code generation for extensions api (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: added generated files, removed trailing whitespace Created 8 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
OLDNEW
1 [ 1 [
2 { 2 {
3 "namespace": "windows", 3 "namespace": "windows",
4 "generate": true,
4 "types": [ 5 "types": [
5 { 6 {
6 "id": "Window", 7 "id": "Window",
7 "type": "object", 8 "type": "object",
8 "properties": { 9 "properties": {
9 "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."},
10 "focused": {"type": "boolean", "description": "Whether the window is c urrently the focused window."}, 11 "focused": {"type": "boolean", "description": "Whether the window is c urrently the focused window."},
11 "top": {"type": "integer", "description": "The offset of the window fr om the top edge of the screen in pixels."}, 12 "top": {"type": "integer", "description": "The offset of the window fr om the top edge of the screen in pixels."},
12 "left": {"type": "integer", "description": "The offset of the window f rom the left 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."},
13 "width": {"type": "integer", "description": "The width of the window i n pixels."}, 14 "width": {"type": "integer", "description": "The width of the window i n pixels."},
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 "name": "onFocusChanged", 255 "name": "onFocusChanged",
255 "type": "function", 256 "type": "function",
256 "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.", 257 "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.",
257 "parameters": [ 258 "parameters": [
258 {"type": "integer", "name": "windowId", "minimum": -1, "description": "ID of the newly focused window."} 259 {"type": "integer", "name": "windowId", "minimum": -1, "description": "ID of the newly focused window."}
259 ] 260 ]
260 } 261 }
261 ] 262 ]
262 } 263 }
263 ] 264 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698