| 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": "history", | 7 "namespace": "history", |
| 8 "description": "Use the <code>chrome.history</code> API to interact with the
browser's record of visited pages. You can add, remove, and query for URLs in t
he browser's history. To override the history page with your own version, see <a
href='override'>Override Pages</a>.", | 8 "description": "Use the <code>chrome.history</code> API to interact with the
browser's record of visited pages. You can add, remove, and query for URLs in t
he browser's history. To override the history page with your own version, see <a
href='override'>Override Pages</a>.", |
| 9 "compler_options": {"use_movable_types": true}, | |
| 10 "types": [ | 9 "types": [ |
| 11 { | 10 { |
| 12 "id": "TransitionType", | 11 "id": "TransitionType", |
| 13 "type": "string", | 12 "type": "string", |
| 14 "enum": ["link", "typed", "auto_bookmark", "auto_subframe", "manual_subf
rame", "generated", "auto_toplevel", "form_submit", "reload", "keyword", "keywor
d_generated"], | 13 "enum": ["link", "typed", "auto_bookmark", "auto_subframe", "manual_subf
rame", "generated", "auto_toplevel", "form_submit", "reload", "keyword", "keywor
d_generated"], |
| 15 "description": "The <a href='#transition_types'>transition type</a> for
this visit from its referrer." | 14 "description": "The <a href='#transition_types'>transition type</a> for
this visit from its referrer." |
| 16 }, | 15 }, |
| 17 { | 16 { |
| 18 "id": "HistoryItem", | 17 "id": "HistoryItem", |
| 19 "type": "object", | 18 "type": "object", |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 178 "properties": { | 177 "properties": { |
| 179 "allHistory": { "type": "boolean", "description": "True if all his
tory was removed. If true, then urls will be empty." }, | 178 "allHistory": { "type": "boolean", "description": "True if all his
tory was removed. If true, then urls will be empty." }, |
| 180 "urls": { "type": "array", "items": { "type": "string" }, "optiona
l": true} | 179 "urls": { "type": "array", "items": { "type": "string" }, "optiona
l": true} |
| 181 } | 180 } |
| 182 } | 181 } |
| 183 ] | 182 ] |
| 184 } | 183 } |
| 185 ] | 184 ] |
| 186 } | 185 } |
| 187 ] | 186 ] |
| OLD | NEW |