diff options
author | tommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-16 23:59:17 +0000 |
---|---|---|
committer | tommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-16 23:59:17 +0000 |
commit | 35f13ab63b056a8e36c06e41655684915c183701 (patch) | |
tree | 913426da932aa18f73f44950d50b1de0398c3968 /chrome_frame/test | |
parent | d65f129bee77d3a4f6ac186641fe11fd890ef077 (diff) | |
download | chromium_src-35f13ab63b056a8e36c06e41655684915c183701.zip chromium_src-35f13ab63b056a8e36c06e41655684915c183701.tar.gz chromium_src-35f13ab63b056a8e36c06e41655684915c183701.tar.bz2 |
Handle right-click->"Save Link As" in the host browser.
TEST=Right click on a link in CF and select "save link as". You should immediately get the host browser's download UI. Before there could be a significant wait before this happened.
BUG=23561
Review URL: http://codereview.chromium.org/506042
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34783 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/test')
-rw-r--r-- | chrome_frame/test/chrome_frame_unittests.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome_frame/test/chrome_frame_unittests.cc b/chrome_frame/test/chrome_frame_unittests.cc index 1b4eaee..fc4fd1a 100644 --- a/chrome_frame/test/chrome_frame_unittests.cc +++ b/chrome_frame/test/chrome_frame_unittests.cc @@ -714,8 +714,8 @@ struct MockCFDelegate : public ChromeFrameDelegateImpl { const std::string& message, const std::string& origin, const std::string& target)); - MOCK_METHOD5(OnHandleContextMenu, void(int tab_handle, HANDLE menu_handle, - int x_pos, int y_pos, int align_flags)); + MOCK_METHOD4(OnHandleContextMenu, void(int tab_handle, HANDLE menu_handle, + int align_flags, const IPC::ContextMenuParams& params)); MOCK_METHOD3(OnRequestStart, void(int tab_handle, int request_id, const IPC::AutomationURLRequest& request)); MOCK_METHOD3(OnRequestRead, void(int tab_handle, int request_id, |