Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(118)

Side by Side Diff: chrome/common/extensions/api/web_navigation.json

Issue 219213007: Remove .html extension from links (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/common/extensions/api/tts_engine.json ('k') | chrome/common/extensions/api/webview.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "functions": [ 10 "functions": [
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 ], 142 ],
143 "parameters": [ 143 "parameters": [
144 { 144 {
145 "type": "object", 145 "type": "object",
146 "name": "details", 146 "name": "details",
147 "properties": { 147 "properties": {
148 "tabId": {"type": "integer", "description": "The ID of the tab in which the navigation occurs."}, 148 "tabId": {"type": "integer", "description": "The ID of the tab in which the navigation occurs."},
149 "url": {"type": "string"}, 149 "url": {"type": "string"},
150 "processId": {"type": "integer", "description": "The ID of the pro cess runs the renderer for this tab."}, 150 "processId": {"type": "integer", "description": "The ID of the pro cess runs the renderer for this tab."},
151 "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."}, 151 "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."},
152 "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 . These are the same transition types as defined in the <a href=\"history.html#t ransition_types\">history API</a> except with <code>\"start_page\"</code> in pla ce of <code>\"auto_toplevel\"</code> (for backwards compatibility)."}, 152 "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 . These are the same transition types as defined in the <a href=\"history#transi tion_types\">history API</a> except with <code>\"start_page\"</code> in place of <code>\"auto_toplevel\"</code> (for backwards compatibility)."},
153 "transitionQualifiers": {"type": "array", "description": "A list o f transition qualifiers.", "items": {"type": "string", "enum": ["client_redirect ", "server_redirect", "forward_back", "from_address_bar"]}}, 153 "transitionQualifiers": {"type": "array", "description": "A list o f transition qualifiers.", "items": {"type": "string", "enum": ["client_redirect ", "server_redirect", "forward_back", "from_address_bar"]}},
154 "timeStamp": {"type": "number", "description": "The time when the navigation was committed, in milliseconds since the epoch."} 154 "timeStamp": {"type": "number", "description": "The time when the navigation was committed, in milliseconds since the epoch."}
155 } 155 }
156 } 156 }
157 ] 157 ]
158 }, 158 },
159 { 159 {
160 "name": "onDOMContentLoaded", 160 "name": "onDOMContentLoaded",
161 "type": "function", 161 "type": "function",
162 "description": "Fired when the page's DOM is fully constructed, but the referenced resources may not finish loading.", 162 "description": "Fired when the page's DOM is fully constructed, but the referenced resources may not finish loading.",
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 ], 276 ],
277 "parameters": [ 277 "parameters": [
278 { 278 {
279 "type": "object", 279 "type": "object",
280 "name": "details", 280 "name": "details",
281 "properties": { 281 "properties": {
282 "tabId": {"type": "integer", "description": "The ID of the tab in which the navigation occurs."}, 282 "tabId": {"type": "integer", "description": "The ID of the tab in which the navigation occurs."},
283 "url": {"type": "string"}, 283 "url": {"type": "string"},
284 "processId": {"type": "integer", "description": "The ID of the pro cess runs the renderer for this tab."}, 284 "processId": {"type": "integer", "description": "The ID of the pro cess runs the renderer for this tab."},
285 "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."}, 285 "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."},
286 "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 . These are the same transition types as defined in the <a href=\"history.html#t ransition_types\">history API</a> except with <code>\"start_page\"</code> in pla ce of <code>\"auto_toplevel\"</code> (for backwards compatibility)."}, 286 "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 . These are the same transition types as defined in the <a href=\"history#transi tion_types\">history API</a> except with <code>\"start_page\"</code> in place of <code>\"auto_toplevel\"</code> (for backwards compatibility)."},
287 "transitionQualifiers": {"type": "array", "description": "A list o f transition qualifiers.", "items": {"type": "string", "enum": ["client_redirect ", "server_redirect", "forward_back", "from_address_bar"]}}, 287 "transitionQualifiers": {"type": "array", "description": "A list o f transition qualifiers.", "items": {"type": "string", "enum": ["client_redirect ", "server_redirect", "forward_back", "from_address_bar"]}},
288 "timeStamp": {"type": "number", "description": "The time when the navigation was committed, in milliseconds since the epoch."} 288 "timeStamp": {"type": "number", "description": "The time when the navigation was committed, in milliseconds since the epoch."}
289 } 289 }
290 } 290 }
291 ] 291 ]
292 }, 292 },
293 { 293 {
294 "name": "onTabReplaced", 294 "name": "onTabReplaced",
295 "type": "function", 295 "type": "function",
296 "description": "Fired when the contents of the tab is replaced by a diff erent (usually previously pre-rendered) tab.", 296 "description": "Fired when the contents of the tab is replaced by a diff erent (usually previously pre-rendered) tab.",
(...skipping 23 matching lines...) Expand all
320 ], 320 ],
321 "parameters": [ 321 "parameters": [
322 { 322 {
323 "type": "object", 323 "type": "object",
324 "name": "details", 324 "name": "details",
325 "properties": { 325 "properties": {
326 "tabId": {"type": "integer", "description": "The ID of the tab in which the navigation occurs."}, 326 "tabId": {"type": "integer", "description": "The ID of the tab in which the navigation occurs."},
327 "url": {"type": "string"}, 327 "url": {"type": "string"},
328 "processId": {"type": "integer", "description": "The ID of the pro cess runs the renderer for this tab."}, 328 "processId": {"type": "integer", "description": "The ID of the pro cess runs the renderer for this tab."},
329 "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."}, 329 "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."},
330 "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 . These are the same transition types as defined in the <a href=\"history.html#t ransition_types\">history API</a> except with <code>\"start_page\"</code> in pla ce of <code>\"auto_toplevel\"</code> (for backwards compatibility)."}, 330 "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 . These are the same transition types as defined in the <a href=\"history#transi tion_types\">history API</a> except with <code>\"start_page\"</code> in place of <code>\"auto_toplevel\"</code> (for backwards compatibility)."},
331 "transitionQualifiers": {"type": "array", "description": "A list o f transition qualifiers.", "items": {"type": "string", "enum": ["client_redirect ", "server_redirect", "forward_back", "from_address_bar"]}}, 331 "transitionQualifiers": {"type": "array", "description": "A list o f transition qualifiers.", "items": {"type": "string", "enum": ["client_redirect ", "server_redirect", "forward_back", "from_address_bar"]}},
332 "timeStamp": {"type": "number", "description": "The time when the navigation was committed, in milliseconds since the epoch."} 332 "timeStamp": {"type": "number", "description": "The time when the navigation was committed, in milliseconds since the epoch."}
333 } 333 }
334 } 334 }
335 ] 335 ]
336 } 336 }
337 ] 337 ]
338 } 338 }
339 ] 339 ]
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/tts_engine.json ('k') | chrome/common/extensions/api/webview.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698