summaryrefslogtreecommitdiffstats
path: root/chrome_frame
diff options
context:
space:
mode:
authorananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-24 00:02:35 +0000
committerananta@chromium.org <ananta@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-24 00:02:35 +0000
commit7b15c0b9a17ea1be9a75ad6520044628cf589c05 (patch)
treeb2688e47599fb0eee5eea91af2691cb154dbe971 /chrome_frame
parentabbfaec6e99118ad6994d563606631967bd9e567 (diff)
downloadchromium_src-7b15c0b9a17ea1be9a75ad6520044628cf589c05.zip
chromium_src-7b15c0b9a17ea1be9a75ad6520044628cf589c05.tar.gz
chromium_src-7b15c0b9a17ea1be9a75ad6520044628cf589c05.tar.bz2
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
Diffstat (limited to 'chrome_frame')
-rw-r--r--chrome_frame/chrome_frame_activex_base.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome_frame/chrome_frame_activex_base.h b/chrome_frame/chrome_frame_activex_base.h
index bac9723..9667da0 100644
--- a/chrome_frame/chrome_frame_activex_base.h
+++ b/chrome_frame/chrome_frame_activex_base.h
@@ -24,6 +24,7 @@
#include "base/win/scoped_comptr.h"
#include "base/win/scoped_variant.h"
#include "grit/chrome_frame_resources.h"
+#include "chrome/app/chrome_command_ids.h"
#include "chrome/common/url_constants.h"
#include "chrome_frame/chrome_frame_plugin.h"
#include "chrome_frame/com_message_event.h"
@@ -352,6 +353,11 @@ END_MSG_MAP()
DoFileDownloadInIE(UTF8ToWide(url.spec()).c_str());
return true;
}
+
+ case IDC_PRINT: {
+ automation_client_->PrintTab();
+ break;
+ }
}
}