| 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": "webNavigation", | 7 "namespace": "webNavigation", |
| 8 "description": "Use the <code>chrome.webNavigation</code> API to receive not
ifications about the status of navigation requests in-flight.", | 8 "description": "Use the <code>chrome.webNavigation</code> API to receive not
ifications about the status of navigation requests in-flight.", |
| 9 "compiler_options": {"use_movable_types": true}, |
| 9 "types": [ | 10 "types": [ |
| 10 { | 11 { |
| 11 "id": "TransitionType", | 12 "id": "TransitionType", |
| 12 "type": "string", | 13 "type": "string", |
| 13 "enum": ["link", "typed", "auto_bookmark", "auto_subframe", "manual_subf
rame", "generated", "start_page", "form_submit", "reload", "keyword", "keyword_g
enerated"], | 14 "enum": ["link", "typed", "auto_bookmark", "auto_subframe", "manual_subf
rame", "generated", "start_page", "form_submit", "reload", "keyword", "keyword_g
enerated"], |
| 14 "description": "Cause of the navigation. The same transition types as de
fined in the history API are used. These are the same transition types as define
d in the <a href=\"history#transition_types\">history API</a> except with <code>
\"start_page\"</code> in place of <code>\"auto_toplevel\"</code> (for backwards
compatibility)." | 15 "description": "Cause of the navigation. The same transition types as de
fined in the history API are used. These are the same transition types as define
d in the <a href=\"history#transition_types\">history API</a> except with <code>
\"start_page\"</code> in place of <code>\"auto_toplevel\"</code> (for backwards
compatibility)." |
| 15 }, | 16 }, |
| 16 { | 17 { |
| 17 "id": "TransitionQualifier", | 18 "id": "TransitionQualifier", |
| 18 "type": "string", | 19 "type": "string", |
| (...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 355 "transitionType": {"$ref": "TransitionType", "description": "Cause
of the navigation."}, | 356 "transitionType": {"$ref": "TransitionType", "description": "Cause
of the navigation."}, |
| 356 "transitionQualifiers": {"type": "array", "description": "A list o
f transition qualifiers.", "items": {"$ref": "TransitionQualifier"}}, | 357 "transitionQualifiers": {"type": "array", "description": "A list o
f transition qualifiers.", "items": {"$ref": "TransitionQualifier"}}, |
| 357 "timeStamp": {"type": "number", "description": "The time when the
navigation was committed, in milliseconds since the epoch."} | 358 "timeStamp": {"type": "number", "description": "The time when the
navigation was committed, in milliseconds since the epoch."} |
| 358 } | 359 } |
| 359 } | 360 } |
| 360 ] | 361 ] |
| 361 } | 362 } |
| 362 ] | 363 ] |
| 363 } | 364 } |
| 364 ] | 365 ] |
| OLD | NEW |