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

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

Issue 10897034: First part of PAGE_TRANSITION_START_PAGE cleanup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 3 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
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 "types": [ 8 "types": [
9 { 9 {
10 "id": "HistoryItem", 10 "id": "HistoryItem",
(...skipping 12 matching lines...) Expand all
23 "id": "VisitItem", 23 "id": "VisitItem",
24 "type": "object", 24 "type": "object",
25 "description": "An object encapsulating one visit to a URL.", 25 "description": "An object encapsulating one visit to a URL.",
26 "properties": { 26 "properties": {
27 "id": {"type": "string", "minimum": 0, "description": "The unique iden tifier for the item."}, 27 "id": {"type": "string", "minimum": 0, "description": "The unique iden tifier for the item."},
28 "visitId": {"type": "string", "description": "The unique identifier fo r this visit."}, 28 "visitId": {"type": "string", "description": "The unique identifier fo r this visit."},
29 "visitTime": {"type": "number", "optional": true, "description": "When this visit occurred, represented in milliseconds since the epoch."}, 29 "visitTime": {"type": "number", "optional": true, "description": "When this visit occurred, represented in milliseconds since the epoch."},
30 "referringVisitId": {"type": "string", "description": "The visit ID of the referrer."}, 30 "referringVisitId": {"type": "string", "description": "The visit ID of the referrer."},
31 "transition": { 31 "transition": {
32 "type": "string", 32 "type": "string",
33 "enum": ["link", "typed", "auto_bookmark", "auto_subframe", "manual_ subframe", "generated", "start_page", "form_submit", "reload", "keyword", "keywo rd_generated"], 33 "enum": ["link", "typed", "auto_bookmark", "auto_subframe", "manual_ subframe", "generated", "auto_toplevel", "form_submit", "reload", "keyword", "ke yword_generated"],
34 "description": "The <a href='#transition_types'>transition type</a> for this visit from its referrer." 34 "description": "The <a href='#transition_types'>transition type</a> for this visit from its referrer."
35 } 35 }
36 } 36 }
37 } 37 }
38 ], 38 ],
39 "functions": [ 39 "functions": [
40 { 40 {
41 "name": "search", 41 "name": "search",
42 "type": "function", 42 "type": "function",
43 "description": "Searches the history for the last visit time of each pag e matching the query.", 43 "description": "Searches the history for the last visit time of each pag e matching the query.",
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 "properties": { 171 "properties": {
172 "allHistory": { "type": "boolean", "description": "True if all his tory was removed. If true, then urls will be empty." }, 172 "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} 173 "urls": { "type": "array", "items": { "type": "string" }, "optiona l": true}
174 } 174 }
175 } 175 }
176 ] 176 ]
177 } 177 }
178 ] 178 ]
179 } 179 }
180 ] 180 ]
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/constrained_web_dialog_delegate_base.cc ('k') | chrome/common/extensions/docs/extensions/history.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698