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

Side by Side Diff: third_party/chrome/idl/experimental_history.json

Issue 12261015: Import chrome idl into third_party (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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
(Empty)
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
3 // found in the LICENSE file.
4
5 [
6 {
7 "namespace": "experimental.history",
8 "types": [
9 {
10 "id": "MostVisitedItem",
11 "type": "object",
12 "properties": {
13 "url": {"type": "string", "description": "The URL navigated to by a u ser."},
14 "title": {"type": "string", "description": "The title of the page whe n it was last loaded."}
15 }
16 }
17 ],
18 "functions": [
19 {
20 "name": "getMostVisited",
21 "type": "function",
22 "description": "Retrieves most visited URLs on the time specified.",
23 "parameters": [
24 { "name": "details",
25 "type": "object",
26 "properties": {
27 "filterTime": {"type": "number", "optional": true, "description": "Sets the time to be used as a basis for the query, represented in milliseconds since the epoch. Defaults to the current time."},
28 "filterWidth": {"type": "number", "optional": true, "description": "Limit results to those visited at filterTime +/- this on each day, in millisec onds."},
29 "dayOfTheWeek": {"type": "integer", "optional": true, "minimum": 0 , "description": "Limit results to those visited on this day of the week (0 - Su nday, 1 - Monday, etc.) starting with this week."},
30 "maxResults": {"type": "integer", "optional": true, "minimum": 0, "description": "The maximum number of results to retrieve. Defaults to 100."}
31 }
32 },
33 {
34 "name": "callback",
35 "type": "function",
36 "parameters": [
37 { "name": "results", "type": "array", "items": { "$ref": "MostVis itedItem"} }
38 ]
39 }
40 ]
41 }
42 ]
43 }
44 ]
OLDNEW
« no previous file with comments | « third_party/chrome/idl/experimental_dns.idl ('k') | third_party/chrome/idl/experimental_identity.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698