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> API to interact with the
browser's record of visited pages. You can add, remove, and query for URLs in t
he browser's history. To override the history page with your own version, see <a
href='override.html'>Override Pages</a>.", | 8 "description": "Use the <code>chrome.history</code> API to interact with the
browser's record of visited pages. You can add, remove, and query for URLs in t
he browser's history. To override the history page with your own version, see <a
href='override'>Override Pages</a>.", |
9 "types": [ | 9 "types": [ |
10 { | 10 { |
11 "id": "HistoryItem", | 11 "id": "HistoryItem", |
12 "type": "object", | 12 "type": "object", |
13 "description": "An object encapsulating one result of a history query.", | 13 "description": "An object encapsulating one result of a history query.", |
14 "properties": { | 14 "properties": { |
15 "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."}, |
16 "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."}, |
17 "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."}, |
18 "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... |
172 "properties": { | 172 "properties": { |
173 "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." }, |
174 "urls": { "type": "array", "items": { "type": "string" }, "optiona
l": true} | 174 "urls": { "type": "array", "items": { "type": "string" }, "optiona
l": true} |
175 } | 175 } |
176 } | 176 } |
177 ] | 177 ] |
178 } | 178 } |
179 ] | 179 ] |
180 } | 180 } |
181 ] | 181 ] |
OLD | NEW |