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

Side by Side Diff: chrome/common/extensions/api/session_restore.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
« no previous file with comments | « chrome/common/extensions/api/script_badge.json ('k') | chrome/common/extensions/api/tabs.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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": "sessionRestore", 7 "namespace": "sessionRestore",
8 "dependencies": [ "tabs", "windows" ],
9 "types": [ 8 "types": [
10 { 9 {
11 "id": "ClosedEntry", 10 "id": "ClosedEntry",
12 "type": "object", 11 "type": "object",
13 "properties": { 12 "properties": {
14 "id": {"type": "integer", "minimum": 0, "description": "The ID of the browser session."}, 13 "id": {"type": "integer", "minimum": 0, "description": "The ID of the browser session."},
15 "timestamp": {"type": "integer", "description": "The time when the win dow or tab was closed, represented in milliseconds since the epoch"}, 14 "timestamp": {"type": "integer", "description": "The time when the win dow or tab was closed, represented in milliseconds since the epoch"},
16 "tab": {"$ref": "tabs.Tab", "optional": true, "description": "The clos ed $ref:tabs.Tab, if this entry describes a tab. Either this or $ref:ClosedEntry .window will be set."}, 15 "tab": {"$ref": "tabs.Tab", "optional": true, "description": "The clos ed $ref:tabs.Tab, if this entry describes a tab. Either this or $ref:ClosedEntry .window will be set."},
17 "window": {"$ref": "windows.Window", "optional": true, "description": "The closed $ref:windows.Window, if this entry describes a window. Either this o r $ref:ClosedEntry.tab will be set."} 16 "window": {"$ref": "windows.Window", "optional": true, "description": "The closed $ref:windows.Window, if this entry describes a window. Either this o r $ref:ClosedEntry.tab will be set."}
18 } 17 }
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 "type": "function", 59 "type": "function",
61 "description": "Reopens a $ref:ClosedEntry, with an optional callback to run when the entry has been restored.", 60 "description": "Reopens a $ref:ClosedEntry, with an optional callback to run when the entry has been restored.",
62 "parameters": [ 61 "parameters": [
63 {"type": "integer", "name": "id", "optional": true, "description": "Th e id of the $ref:ClosedEntry to restore."}, 62 {"type": "integer", "name": "id", "optional": true, "description": "Th e id of the $ref:ClosedEntry to restore."},
64 {"type": "function", "name": "callback", "optional": true, "parameters ": []} 63 {"type": "function", "name": "callback", "optional": true, "parameters ": []}
65 ] 64 ]
66 } 65 }
67 ] 66 ]
68 } 67 }
69 ] 68 ]
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/script_badge.json ('k') | chrome/common/extensions/api/tabs.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698