Chromium Code Reviews| 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": {"type": "integer", "description": "The value of -1, since the process which will render the resulting document is not known until on Commit."}, |
|
Devlin
2016/02/09 17:35:40
I'd phrase this to include "deprecated" so it's cl
nasko
2016/02/09 17:53:54
Done.
| |
| 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."}, | 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."}, |
| 142 "parentFrameId": {"type": "integer", "description": "ID of frame t hat wraps the frame. Set to -1 of no parent frame exists."}, | 142 "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."} | 143 "timeStamp": {"type": "number", "description": "The time when the browser was about to start the navigation, in milliseconds since the epoch."} |
| 144 } | 144 } |
| 145 } | 145 } |
| 146 ] | 146 ] |
| 147 }, | 147 }, |
| 148 { | 148 { |
| 149 "name": "onCommitted", | 149 "name": "onCommitted", |
| 150 "type": "function", | 150 "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." | 237 "description": "Conditions that the URL being navigated to must sati sfy. The 'schemes' and 'ports' fields of UrlFilter are ignored for this event." |
| 238 } | 238 } |
| 239 ], | 239 ], |
| 240 "parameters": [ | 240 "parameters": [ |
| 241 { | 241 { |
| 242 "type": "object", | 242 "type": "object", |
| 243 "name": "details", | 243 "name": "details", |
| 244 "properties": { | 244 "properties": { |
| 245 "tabId": {"type": "integer", "description": "The ID of the tab in which the navigation occurs."}, | 245 "tabId": {"type": "integer", "description": "The ID of the tab in which the navigation occurs."}, |
| 246 "url": {"type": "string"}, | 246 "url": {"type": "string"}, |
| 247 "processId": {"type": "integer", "description": "The ID of the pro cess that runs the renderer for this frame."}, | 247 "processId": {"type": "integer", "description": "The value of -1." }, |
|
Devlin
2016/02/09 17:35:40
ditto. We also don't object to copy-pasting in do
nasko
2016/02/09 17:53:54
Done.
| |
| 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."}, | 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."}, |
| 249 "error": {"type": "string", "description": "The error description. "}, | 249 "error": {"type": "string", "description": "The error description. "}, |
| 250 "timeStamp": {"type": "number", "description": "The time when the error occurred, in milliseconds since the epoch."} | 250 "timeStamp": {"type": "number", "description": "The time when the error occurred, in milliseconds since the epoch."} |
| 251 } | 251 } |
| 252 } | 252 } |
| 253 ] | 253 ] |
| 254 }, | 254 }, |
| 255 { | 255 { |
| 256 "name": "onCreatedNavigationTarget", | 256 "name": "onCreatedNavigationTarget", |
| 257 "type": "function", | 257 "type": "function", |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 347 "transitionType": {"$ref": "TransitionType", "description": "Cause of the navigation."}, | 347 "transitionType": {"$ref": "TransitionType", "description": "Cause of the navigation."}, |
| 348 "transitionQualifiers": {"type": "array", "description": "A list o f transition qualifiers.", "items": {"$ref": "TransitionQualifier"}}, | 348 "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."} | 349 "timeStamp": {"type": "number", "description": "The time when the navigation was committed, in milliseconds since the epoch."} |
| 350 } | 350 } |
| 351 } | 351 } |
| 352 ] | 352 ] |
| 353 } | 353 } |
| 354 ] | 354 ] |
| 355 } | 355 } |
| 356 ] | 356 ] |
| OLD | NEW |