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

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

Issue 1833053004: [Extensions] Convert APIs to use movable types [10] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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": "topSites", 7 "namespace": "topSites",
8 "description": "Use the <code>chrome.topSites</code> API to access the top s ites that are displayed on the new tab page.", 8 "description": "Use the <code>chrome.topSites</code> API to access the top s ites that are displayed on the new tab page.",
9 "compiler_options": {"use_movable_types": true},
9 "types": [ 10 "types": [
10 { 11 {
11 "id": "MostVisitedURL", 12 "id": "MostVisitedURL",
12 "type": "object", 13 "type": "object",
13 "description": "An object encapsulating a most visited URL, such as the URLs on the new tab page.", 14 "description": "An object encapsulating a most visited URL, such as the URLs on the new tab page.",
14 "properties": { 15 "properties": {
15 "url": {"type": "string", "description": "The most visited URL."}, 16 "url": {"type": "string", "description": "The most visited URL."},
16 "title": {"type": "string", "description": "The title of the page"} 17 "title": {"type": "string", "description": "The title of the page"}
17 } 18 }
18 } 19 }
(...skipping 13 matching lines...) Expand all
32 "name": "data", 33 "name": "data",
33 "items": {"$ref": "MostVisitedURL"} 34 "items": {"$ref": "MostVisitedURL"}
34 } 35 }
35 ] 36 ]
36 } 37 }
37 ] 38 ]
38 } 39 }
39 ] 40 ]
40 } 41 }
41 ] 42 ]
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/terminal_private.json ('k') | chrome/common/extensions/api/tts.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698