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 "types": [], | 8 "types": [], |
9 "functions": [ | 9 "functions": [ |
10 { | 10 { |
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
260 { | 260 { |
261 "type": "object", | 261 "type": "object", |
262 "name": "details", | 262 "name": "details", |
263 "properties": { | 263 "properties": { |
264 "replacedTabId": {"type": "integer", "description": "The ID of the tab that was replaced."}, | 264 "replacedTabId": {"type": "integer", "description": "The ID of the tab that was replaced."}, |
265 "tabId": {"type": "integer", "description": "The ID of the tab tha t replaced the old tab."}, | 265 "tabId": {"type": "integer", "description": "The ID of the tab tha t replaced the old tab."}, |
266 "timeStamp": {"type": "number", "description": "The time when the replacement happened, in milliseconds since the epoch."} | 266 "timeStamp": {"type": "number", "description": "The time when the replacement happened, in milliseconds since the epoch."} |
267 } | 267 } |
268 } | 268 } |
269 ] | 269 ] |
270 }, | |
271 { | |
272 "name": "onHistoryStateUpdated", | |
273 "type": "function", | |
274 "description": "Fired when the frame's history was updated to a new URL. All future events for that frame will use the updated URL.", | |
Matt Perry
2012/07/16 20:42:50
I don't understand this description. At first I th
jochen (gone - plz use gerrit)
2012/07/16 20:53:36
It's fired when a page changes it's history. Someh
Matt Perry
2012/07/16 21:15:23
OK, I'm probably confused because I don't really u
| |
275 "options": { | |
276 "supportsFilters": true, | |
277 "supportsListeners": true, | |
278 "supportsRules": false | |
279 }, | |
280 "parameters": [ | |
281 { | |
282 "type": "object", | |
283 "name": "details", | |
284 "properties": { | |
285 "tabId": {"type": "integer", "description": "The ID of the tab in which the navigation occurs."}, | |
286 "url": {"type": "string"}, | |
287 "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."}, | |
288 "transitionType": {"type": "string", "enum": ["link", "typed", "au to_bookmark", "auto_subframe", "manual_subframe", "generated", "start_page", "fo rm_submit", "reload", "keyword", "keyword_generated"], "description": "Cause of the navigation. The same transition types as defined in the history API are used ."}, | |
289 "transitionQualifiers": {"type": "array", "description": "A list o f transition qualifiers.", "items": {"type": "string", "enum": ["client_redirect ", "server_redirect", "forward_back", "from_address_bar"]}}, | |
290 "timeStamp": {"type": "number", "description": "The time when the navigation was committed, in milliseconds since the epoch."} | |
291 } | |
292 } | |
293 ] | |
270 } | 294 } |
271 ] | 295 ] |
272 } | 296 } |
273 ] | 297 ] |
OLD | NEW |