Commit 7b15c0b9 authored by ananta@chromium.org's avatar ananta@chromium.org

Ensure that context menu->Print works in ChromeFrame.

Fixes bug http://code.google.com/p/chromium/issues/detail?id=83661

BUG=83661
Review URL: http://codereview.chromium.org/6992008

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86369 0039d316-1c4b-4281-b951-d872f2087c98
parent abbfaec6
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
#include "base/win/scoped_comptr.h" #include "base/win/scoped_comptr.h"
#include "base/win/scoped_variant.h" #include "base/win/scoped_variant.h"
#include "grit/chrome_frame_resources.h" #include "grit/chrome_frame_resources.h"
#include "chrome/app/chrome_command_ids.h"
#include "chrome/common/url_constants.h" #include "chrome/common/url_constants.h"
#include "chrome_frame/chrome_frame_plugin.h" #include "chrome_frame/chrome_frame_plugin.h"
#include "chrome_frame/com_message_event.h" #include "chrome_frame/com_message_event.h"
...@@ -352,6 +353,11 @@ END_MSG_MAP() ...@@ -352,6 +353,11 @@ END_MSG_MAP()
DoFileDownloadInIE(UTF8ToWide(url.spec()).c_str()); DoFileDownloadInIE(UTF8ToWide(url.spec()).c_str());
return true; return true;
} }
case IDC_PRINT: {
automation_client_->PrintTab();
break;
}
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment