commit | 673fd2c0970496cf45b4724510590c9bc2c313bc | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Thu Feb 04 23:10:00 2010 |
committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Thu Feb 04 23:10:00 2010 |
tree | f7782e423be391ab2377c9bb2019e107a191ecfb | |
parent | ccd22a77a320bb0fc414a97d758fc002f40a907e [diff] [blame] |
Add support for the IE File->Save As command. This eventually ends up in Chrome via the new automation message AutomationMsg_SaveAsAsync. Rest of the changes are to plumb this message across from IE to Chrome. Fixes bug http://code.google.com/p/chromium/issues/detail?id=24039 Bug=24039 Test=Launch IE with OptinUrls set to *. Navigate to google.com and select File->Save As. The dialog should popup. Review URL: http://codereview.chromium.org/563025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38145 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome_frame/chrome_active_document.cc b/chrome_frame/chrome_active_document.cc index 091f0ba..e212b9c6 100644 --- a/chrome_frame/chrome_active_document.cc +++ b/chrome_frame/chrome_active_document.cc
@@ -94,6 +94,7 @@ enabled_commands_map_[OLECMDID_COPY] = true; enabled_commands_map_[OLECMDID_PASTE] = true; enabled_commands_map_[OLECMDID_SELECTALL] = true; + enabled_commands_map_[OLECMDID_SAVEAS] = true; return S_OK; }