Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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": "sessions", | 7 "namespace": "sessions", |
| 8 "description": "Use the <code>chrome.sessions</code> API to query and restor e tabs and windows from a browsing session.", | 8 "description": "Use the <code>chrome.sessions</code> API to query and restor e tabs and windows from a browsing session.", |
| 9 "types": [ | 9 "types": [ |
| 10 { | 10 { |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 100 { | 100 { |
| 101 "$ref": "Session", | 101 "$ref": "Session", |
| 102 "name": "restoredSession", | 102 "name": "restoredSession", |
| 103 "description": "A $(ref:sessions.Session) containing the restore d $(ref:windows.Window) or $(ref:tabs.Tab) object." | 103 "description": "A $(ref:sessions.Session) containing the restore d $(ref:windows.Window) or $(ref:tabs.Tab) object." |
| 104 } | 104 } |
| 105 ] | 105 ] |
| 106 } | 106 } |
| 107 ] | 107 ] |
| 108 } | 108 } |
| 109 ], | 109 ], |
| 110 "events": [ | |
|
not at google - send to devlin
2014/03/17 14:21:18
Cool, we've wanted to add this sort of functionali
wjywbs
2014/03/17 19:27:24
Sure, I will write the proposal tonight.
not at google - send to devlin
2014/03/19 16:22:41
Ok, let's resolve my comments in there. Then ping
| |
| 111 { | |
| 112 "name": "onRecentlyClosed", | |
| 113 "description": "Fired when recently closed tabs and/or windows are chang ed.", | |
| 114 "type": "function" | |
| 115 } | |
| 116 ], | |
| 110 "properties": { | 117 "properties": { |
| 111 "MAX_SESSION_RESULTS": { | 118 "MAX_SESSION_RESULTS": { |
| 112 "value": 25, | 119 "value": 25, |
| 113 "description": "The maximum number of $(ref:sessions.Session) that will be included in a requested list." | 120 "description": "The maximum number of $(ref:sessions.Session) that will be included in a requested list." |
| 114 } | 121 } |
| 115 } | 122 } |
| 116 } | 123 } |
| 117 ] | 124 ] |
| OLD | NEW |