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

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

Issue 8631017: Change the first parameter of savePage.saveAsMHTML to be a dictionary. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Applied Antony's suggestions Created 9 years, 1 month 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 "types": [ 4 "types": [
5 { 5 {
6 "id": "MessageSender", 6 "id": "MessageSender",
7 "type": "object", 7 "type": "object",
8 "description": "An object containing information about the script contex t that sent a message or request.", 8 "description": "An object containing information about the script contex t that sent a message or request.",
9 "properties": { 9 "properties": {
10 "tab": {"$ref": "Tab", "optional": true, "description":"This property will <b>only</b> be present when the connection was opened from a tab or content script."}, 10 "tab": {"$ref": "Tab", "optional": true, "description":"This property will <b>only</b> be present when the connection was opened from a tab or content script."},
(...skipping 9044 matching lines...) Expand 10 before | Expand all | Expand 10 after
9055 ] 9055 ]
9056 } 9056 }
9057 ] 9057 ]
9058 }, 9058 },
9059 { 9059 {
9060 "namespace": "experimental.savePage", 9060 "namespace": "experimental.savePage",
9061 "functions": [ 9061 "functions": [
9062 { 9062 {
9063 "name": "saveAsMHTML", 9063 "name": "saveAsMHTML",
9064 "type": "function", 9064 "type": "function",
9065 "description": "Saves the content of the tab with given id to MHTML.", 9065 "description": "Saves the content of the tab with given id as MHTML.",
9066 "parameters": [ 9066 "parameters": [
9067 { 9067 {
9068 "name": "tabId", 9068 "name": "details",
9069 "type": "integer", 9069 "type": "object",
9070 "minimum": 0, 9070 "properties": {
9071 "description": "The id of the tab to save." 9071 "tabId": {
9072 "type": "integer",
9073 "minimum": 0,
9074 "description": "The id of the tab to save as MHTML."
9075 }
9076 }
9072 }, 9077 },
9073 { 9078 {
9074 "name": "callback", 9079 "name": "callback",
9075 "type": "function", 9080 "type": "function",
9076 "description": "Called when the MHTML has been generated.", 9081 "description": "Called when the MHTML has been generated.",
9077 "parameters": [ 9082 "parameters": [
9078 { 9083 {
9079 "name": "mhtmlData", 9084 "name": "mhtmlData",
9080 "type": "blob", 9085 "type": "blob",
9081 "optional": "true", 9086 "optional": "true",
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
9230 } 9235 }
9231 } 9236 }
9232 } 9237 }
9233 ] 9238 ]
9234 } 9239 }
9235 ] 9240 ]
9236 } 9241 }
9237 ] 9242 ]
9238 } 9243 }
9239 ] 9244 ]
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_save_page_api.cc ('k') | chrome/common/extensions/docs/experimental.savePage.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698