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

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

Issue 16876004: Updating JSON Schema Compiler to add description field to schemas. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: (kalman) rebase Created 7 years, 6 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
« no previous file with comments | « tools/json_schema_compiler/test/tabs.json ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 [ 1 [
2 { 2 {
3 "namespace": "windows", 3 "namespace": "windows",
4 "description": "The windows API.",
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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 "name": "onFocusChanged", 256 "name": "onFocusChanged",
256 "type": "function", 257 "type": "function",
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.", 258 "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.",
258 "parameters": [ 259 "parameters": [
259 {"type": "integer", "name": "windowId", "minimum": -1, "description": "ID of the newly focused window."} 260 {"type": "integer", "name": "windowId", "minimum": -1, "description": "ID of the newly focused window."}
260 ] 261 ]
261 } 262 }
262 ] 263 ]
263 } 264 }
264 ] 265 ]
OLDNEW
« no previous file with comments | « tools/json_schema_compiler/test/tabs.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698