diff options
author | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-04 23:10:00 +0000 |
---|---|---|
committer | ananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-04 23:10:00 +0000 |
commit | 673fd2c0970496cf45b4724510590c9bc2c313bc (patch) | |
tree | f7782e423be391ab2377c9bb2019e107a191ecfb /chrome_frame/chrome_active_document.cc | |
parent | ccd22a77a320bb0fc414a97d758fc002f40a907e (diff) | |
download | chromium_src-673fd2c0970496cf45b4724510590c9bc2c313bc.zip chromium_src-673fd2c0970496cf45b4724510590c9bc2c313bc.tar.gz chromium_src-673fd2c0970496cf45b4724510590c9bc2c313bc.tar.bz2 |
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
Diffstat (limited to 'chrome_frame/chrome_active_document.cc')
-rw-r--r-- | chrome_frame/chrome_active_document.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome_frame/chrome_active_document.cc b/chrome_frame/chrome_active_document.cc index 091f0ba..e212b9c 100644 --- a/chrome_frame/chrome_active_document.cc +++ b/chrome_frame/chrome_active_document.cc @@ -94,6 +94,7 @@ HRESULT ChromeActiveDocument::FinalConstruct() { 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; } |