| 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}, |
| 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 Loading... |
| 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 ] |
| OLD | NEW |