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

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

Issue 7624031: Treat files downloaded from the address bar as "always safe" (including extensions per discussion... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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 | Annotate | Revision Log
OLDNEW
1 [ 1 [
2 { 2 {
3 "namespace": "extension", 3 "namespace": "extension",
4 "unprivileged": true, 4 "unprivileged": true,
5 "types": [ 5 "types": [
6 { 6 {
7 "id": "MessageSender", 7 "id": "MessageSender",
8 "type": "object", 8 "type": "object",
9 "description": "An object containing information about the script contex t that sent a message or request.", 9 "description": "An object containing information about the script contex t that sent a message or request.",
10 "properties": { 10 "properties": {
(...skipping 5204 matching lines...) Expand 10 before | Expand all | Expand 10 after
5215 "description": "Fired when a navigation is committed. The document (and the resources it refers to, such as images and subframes) might still be downloa ding, but at least part of the document has been received from the server and th e browser has decided to switch to the new document.", 5215 "description": "Fired when a navigation is committed. The document (and the resources it refers to, such as images and subframes) might still be downloa ding, but at least part of the document has been received from the server and th e browser has decided to switch to the new document.",
5216 "parameters": [ 5216 "parameters": [
5217 { 5217 {
5218 "type": "object", 5218 "type": "object",
5219 "name": "details", 5219 "name": "details",
5220 "properties": { 5220 "properties": {
5221 "tabId": {"type": "integer", "description": "The ID of the tab in which the navigation occurs."}, 5221 "tabId": {"type": "integer", "description": "The ID of the tab in which the navigation occurs."},
5222 "url": {"type": "string"}, 5222 "url": {"type": "string"},
5223 "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."}, 5223 "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."},
5224 "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 ."}, 5224 "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 ."},
5225 "transitionQualifiers": {"type": "array", "description": "A list o f transition qualifiers.", "items:": {"type": "string", "enum": ["client_redirec t", "server_redirect", "forward_back"]}}, 5225 "transitionQualifiers": {"type": "array", "description": "A list o f transition qualifiers.", "items:": {"type": "string", "enum": ["client_redirec t", "server_redirect", "forward_back", "from_address_bar"]}},
5226 "timeStamp": {"type": "number", "description": "The time when the navigation was committed, in milliseconds since the epoch."} 5226 "timeStamp": {"type": "number", "description": "The time when the navigation was committed, in milliseconds since the epoch."}
5227 } 5227 }
5228 } 5228 }
5229 ] 5229 ]
5230 }, 5230 },
5231 { 5231 {
5232 "name": "onDOMContentLoaded", 5232 "name": "onDOMContentLoaded",
5233 "type": "function", 5233 "type": "function",
5234 "description": "Fired when the page's DOM is fully constructed, but the referenced resources may not finish loading.", 5234 "description": "Fired when the page's DOM is fully constructed, but the referenced resources may not finish loading.",
5235 "parameters": [ 5235 "parameters": [
(...skipping 3085 matching lines...) Expand 10 before | Expand all | Expand 10 after
8321 "type": "function", 8321 "type": "function",
8322 "description": "Called when the browser's passwords have been cleare d.", 8322 "description": "Called when the browser's passwords have been cleare d.",
8323 "optional": true, 8323 "optional": true,
8324 "parameters": [] 8324 "parameters": []
8325 } 8325 }
8326 ] 8326 ]
8327 } 8327 }
8328 ] 8328 ]
8329 } 8329 }
8330 ] 8330 ]
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/location_bar/location_bar_view.cc ('k') | chrome/common/extensions/docs/experimental.clear.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698