Index: content/common/view_messages.h |
diff --git a/content/common/view_messages.h b/content/common/view_messages.h |
index 8e719cfb49b9359ed8fd990dce76a49fe3df9341..9ae56cd66d7fa66b623c55f3b38c385e359eaf3e 100644 |
--- a/content/common/view_messages.h |
+++ b/content/common/view_messages.h |
@@ -1200,12 +1200,11 @@ IPC_MESSAGE_ROUTED2(ViewHostMsg_AppCacheAccessed, |
bool /* blocked by policy */) |
// Initiates a download based on user actions like 'ALT+click'. |
-IPC_MESSAGE_CONTROL5(ViewHostMsg_DownloadUrl, |
+IPC_MESSAGE_CONTROL4(ViewHostMsg_DownloadUrl, |
int /* render_view_id */, |
GURL /* url */, |
content::Referrer /* referrer */, |
- base::string16 /* suggested_name */, |
- bool /* use prompt for save location */) |
palmer
2014/09/02 17:58:04
Why take this out?
zino
2014/09/03 01:45:58
The parameter was added in https://crrev.com/26345
|
+ base::string16 /* suggested_name */) |
// Used to go to the session history entry at the given offset (ie, -1 will |
// return the "back" item). |
@@ -1343,6 +1342,13 @@ IPC_MESSAGE_ROUTED2(ViewHostMsg_EnumerateDirectory, |
int /* request_id */, |
base::FilePath /* file_path */) |
+// Asks the browser to save a image (for <canvas> or <img>) from a data URL. |
+// Note: |data_url| is the contents of a data:URL, and that it's represented as |
+// a string only to work around size limitations for GURLs in IPC messages. |
+IPC_MESSAGE_CONTROL2(ViewHostMsg_SaveImageFromDataURL, |
+ int /* render_view_id */, |
+ std::string /* data_url */) |
+ |
// Tells the browser to move the focus to the next (previous if reverse is |
// true) focusable element. |
IPC_MESSAGE_ROUTED1(ViewHostMsg_TakeFocus, |