OLD | NEW |
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": "history", | 7 "namespace": "history", |
| 8 "description": "Use the <code>chrome.history</code> module to intereact with
the browser's record of visited pages. You can add, remove, and query for URLs
in the browser's history. To override the history page with your own version, se
e <a href='override.html'>Override Pages</a>.", |
8 "types": [ | 9 "types": [ |
9 { | 10 { |
10 "id": "HistoryItem", | 11 "id": "HistoryItem", |
11 "type": "object", | 12 "type": "object", |
12 "description": "An object encapsulating one result of a history query.", | 13 "description": "An object encapsulating one result of a history query.", |
13 "properties": { | 14 "properties": { |
14 "id": {"type": "string", "minimum": 0, "description": "The unique iden
tifier for the item."}, | 15 "id": {"type": "string", "minimum": 0, "description": "The unique iden
tifier for the item."}, |
15 "url": {"type": "string", "optional": true, "description": "The URL na
vigated to by a user."}, | 16 "url": {"type": "string", "optional": true, "description": "The URL na
vigated to by a user."}, |
16 "title": {"type": "string", "optional": true, "description": "The titl
e of the page when it was last loaded."}, | 17 "title": {"type": "string", "optional": true, "description": "The titl
e of the page when it was last loaded."}, |
17 "lastVisitTime": {"type": "number", "optional": true, "description": "
When this page was last loaded, represented in milliseconds since the epoch."}, | 18 "lastVisitTime": {"type": "number", "optional": true, "description": "
When this page was last loaded, represented in milliseconds since the epoch."}, |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 "properties": { | 172 "properties": { |
172 "allHistory": { "type": "boolean", "description": "True if all his
tory was removed. If true, then urls will be empty." }, | 173 "allHistory": { "type": "boolean", "description": "True if all his
tory was removed. If true, then urls will be empty." }, |
173 "urls": { "type": "array", "items": { "type": "string" }, "optiona
l": true} | 174 "urls": { "type": "array", "items": { "type": "string" }, "optiona
l": true} |
174 } | 175 } |
175 } | 176 } |
176 ] | 177 ] |
177 } | 178 } |
178 ] | 179 ] |
179 } | 180 } |
180 ] | 181 ] |
OLD | NEW |