| OLD | NEW |
| 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}, | |
| 10 "types": [ | 9 "types": [ |
| 11 { | 10 { |
| 12 "id": "MostVisitedURL", | 11 "id": "MostVisitedURL", |
| 13 "type": "object", | 12 "type": "object", |
| 14 "description": "An object encapsulating a most visited URL, such as the
URLs on the new tab page.", | 13 "description": "An object encapsulating a most visited URL, such as the
URLs on the new tab page.", |
| 15 "properties": { | 14 "properties": { |
| 16 "url": {"type": "string", "description": "The most visited URL."}, | 15 "url": {"type": "string", "description": "The most visited URL."}, |
| 17 "title": {"type": "string", "description": "The title of the page"} | 16 "title": {"type": "string", "description": "The title of the page"} |
| 18 } | 17 } |
| 19 } | 18 } |
| (...skipping 13 matching lines...) Expand all Loading... |
| 33 "name": "data", | 32 "name": "data", |
| 34 "items": {"$ref": "MostVisitedURL"} | 33 "items": {"$ref": "MostVisitedURL"} |
| 35 } | 34 } |
| 36 ] | 35 ] |
| 37 } | 36 } |
| 38 ] | 37 ] |
| 39 } | 38 } |
| 40 ] | 39 ] |
| 41 } | 40 } |
| 42 ] | 41 ] |
| OLD | NEW |