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

Side by Side Diff: chrome/common/extensions/api/history.json

Issue 12996003: Dynamically generate a heading for Extension Docs API pages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing issues with experimental_APIs Created 7 years, 8 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
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": "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
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 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698