summaryrefslogtreecommitdiffstats
path: root/chrome_frame/chrome_active_document.h
diff options
context:
space:
mode:
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-04 23:10:00 +0000
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-04 23:10:00 +0000
commit673fd2c0970496cf45b4724510590c9bc2c313bc (patch)
treef7782e423be391ab2377c9bb2019e107a191ecfb /chrome_frame/chrome_active_document.h
parentccd22a77a320bb0fc414a97d758fc002f40a907e (diff)
downloadchromium_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.h')
-rw-r--r--chrome_frame/chrome_active_document.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome_frame/chrome_active_document.h b/chrome_frame/chrome_active_document.h
index eed38e7..f2b26d6 100644
--- a/chrome_frame/chrome_active_document.h
+++ b/chrome_frame/chrome_active_document.h
@@ -162,6 +162,7 @@ BEGIN_EXEC_COMMAND_MAP(ChromeActiveDocument)
FORWARD_TAB_COMMAND(OLECMDID_PASTE, Paste)
FORWARD_TAB_COMMAND(OLECMDID_REFRESH, ReloadAsync)
FORWARD_TAB_COMMAND(OLECMDID_STOP, StopAsync)
+ FORWARD_TAB_COMMAND(OLECMDID_SAVEAS, SaveAsAsync)
EXEC_COMMAND_HANDLER(SBCMDID_MIXEDZONE, OnDetermineSecurityZone)
EXEC_COMMAND_HANDLER(IDM_BASELINEFONT1, SetPageFontSize)
EXEC_COMMAND_HANDLER(IDM_BASELINEFONT2, SetPageFontSize)