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

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

Issue 9721013: Move topSites API out of experimental (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Added curlies Created 8 years, 9 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
(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": "topSites",
8 "types": [
9 {
10 "id": "MostVisitedURL",
11 "type": "object",
12 "description": "An object encapsulating a most visited URL, such as the URLs on the new tab page.",
13 "properties": {
14 "url": {"type": "string", "description": "The most visited URL."},
15 "title": {"type": "string", "description": "The title of the page"},
16 "direction": {"type": "string", "enum": ["rtl", "ltr"], "description": "The direction of the title, with \"rtl\" being right to left and \"ltr\" being left to right."}
17 }
18 }
19 ],
20 "functions": [
21 {
22 "name": "get",
23 "type": "function",
24 "description": "Gets a list of top sites.",
25 "parameters": [
26 {
27 "type": "function",
28 "name": "callback",
29 "parameters": [
30 {
31 "type": "array",
32 "name": "data",
33 "items": {"$ref": "MostVisitedURL"}
34 }
35 ]
36 }
37 ]
38 }
39 ]
40 }
41 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698