| 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 "types": [ | 9 "types": [ |
| 10 { | 10 { |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 "description": "Conditions that the URL being navigated to must sati
sfy. The 'schemes' and 'ports' fields of UrlFilter are ignored for this event." | 130 "description": "Conditions that the URL being navigated to must sati
sfy. The 'schemes' and 'ports' fields of UrlFilter are ignored for this event." |
| 131 } | 131 } |
| 132 ], | 132 ], |
| 133 "parameters": [ | 133 "parameters": [ |
| 134 { | 134 { |
| 135 "type": "object", | 135 "type": "object", |
| 136 "name": "details", | 136 "name": "details", |
| 137 "properties": { | 137 "properties": { |
| 138 "tabId": {"type": "integer", "description": "The ID of the tab in
which the navigation is about to occur."}, | 138 "tabId": {"type": "integer", "description": "The ID of the tab in
which the navigation is about to occur."}, |
| 139 "url": {"type": "string"}, | 139 "url": {"type": "string"}, |
| 140 "processId": {"type": "integer", "description": "The ID of the pro
cess that runs the renderer for this frame."}, | 140 "processId": { |
| 141 "type": "integer", |
| 142 "description": "The value of -1.", |
| 143 "deprecated": "The processId is no longer set for this event, si
nce the process which will render the resulting document is not known until onCo
mmit." |
| 144 }, |
| 141 "frameId": {"type": "integer", "description": "0 indicates the nav
igation happens in the tab content window; a positive value indicates navigation
in a subframe. Frame IDs are unique for a given tab and process."}, | 145 "frameId": {"type": "integer", "description": "0 indicates the nav
igation happens in the tab content window; a positive value indicates navigation
in a subframe. Frame IDs are unique for a given tab and process."}, |
| 142 "parentFrameId": {"type": "integer", "description": "ID of frame t
hat wraps the frame. Set to -1 of no parent frame exists."}, | 146 "parentFrameId": {"type": "integer", "description": "ID of frame t
hat wraps the frame. Set to -1 of no parent frame exists."}, |
| 143 "timeStamp": {"type": "number", "description": "The time when the
browser was about to start the navigation, in milliseconds since the epoch."} | 147 "timeStamp": {"type": "number", "description": "The time when the
browser was about to start the navigation, in milliseconds since the epoch."} |
| 144 } | 148 } |
| 145 } | 149 } |
| 146 ] | 150 ] |
| 147 }, | 151 }, |
| 148 { | 152 { |
| 149 "name": "onCommitted", | 153 "name": "onCommitted", |
| 150 "type": "function", | 154 "type": "function", |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 "description": "Conditions that the URL being navigated to must sati
sfy. The 'schemes' and 'ports' fields of UrlFilter are ignored for this event." | 241 "description": "Conditions that the URL being navigated to must sati
sfy. The 'schemes' and 'ports' fields of UrlFilter are ignored for this event." |
| 238 } | 242 } |
| 239 ], | 243 ], |
| 240 "parameters": [ | 244 "parameters": [ |
| 241 { | 245 { |
| 242 "type": "object", | 246 "type": "object", |
| 243 "name": "details", | 247 "name": "details", |
| 244 "properties": { | 248 "properties": { |
| 245 "tabId": {"type": "integer", "description": "The ID of the tab in
which the navigation occurs."}, | 249 "tabId": {"type": "integer", "description": "The ID of the tab in
which the navigation occurs."}, |
| 246 "url": {"type": "string"}, | 250 "url": {"type": "string"}, |
| 247 "processId": {"type": "integer", "description": "The ID of the pro
cess that runs the renderer for this frame."}, | 251 "processId": { |
| 252 "type": "integer", |
| 253 "description": "The value of -1.", |
| 254 "deprecated": "The processId is no longer set for this event." |
| 255 }, |
| 248 "frameId": {"type": "integer", "description": "0 indicates the nav
igation happens in the tab content window; a positive value indicates navigation
in a subframe. Frame IDs are unique within a tab."}, | 256 "frameId": {"type": "integer", "description": "0 indicates the nav
igation happens in the tab content window; a positive value indicates navigation
in a subframe. Frame IDs are unique within a tab."}, |
| 249 "error": {"type": "string", "description": "The error description.
"}, | 257 "error": {"type": "string", "description": "The error description.
"}, |
| 250 "timeStamp": {"type": "number", "description": "The time when the
error occurred, in milliseconds since the epoch."} | 258 "timeStamp": {"type": "number", "description": "The time when the
error occurred, in milliseconds since the epoch."} |
| 251 } | 259 } |
| 252 } | 260 } |
| 253 ] | 261 ] |
| 254 }, | 262 }, |
| 255 { | 263 { |
| 256 "name": "onCreatedNavigationTarget", | 264 "name": "onCreatedNavigationTarget", |
| 257 "type": "function", | 265 "type": "function", |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 347 "transitionType": {"$ref": "TransitionType", "description": "Cause
of the navigation."}, | 355 "transitionType": {"$ref": "TransitionType", "description": "Cause
of the navigation."}, |
| 348 "transitionQualifiers": {"type": "array", "description": "A list o
f transition qualifiers.", "items": {"$ref": "TransitionQualifier"}}, | 356 "transitionQualifiers": {"type": "array", "description": "A list o
f transition qualifiers.", "items": {"$ref": "TransitionQualifier"}}, |
| 349 "timeStamp": {"type": "number", "description": "The time when the
navigation was committed, in milliseconds since the epoch."} | 357 "timeStamp": {"type": "number", "description": "The time when the
navigation was committed, in milliseconds since the epoch."} |
| 350 } | 358 } |
| 351 } | 359 } |
| 352 ] | 360 ] |
| 353 } | 361 } |
| 354 ] | 362 ] |
| 355 } | 363 } |
| 356 ] | 364 ] |
| OLD | NEW |