Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(267)

Unified Diff: chrome/browser/ui/browser_commands.cc

Issue 10483006: Print support for Windows Metro... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync'd to ToT... Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/browser_commands.h ('k') | printing/print_destination_interface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser_commands.cc
diff --git a/chrome/browser/ui/browser_commands.cc b/chrome/browser/ui/browser_commands.cc
index 248b866ea069cbd5cdeaf644a71b155f4799504f..1b74ce188908576f68a9e6ef8fb28a25acfe43ff 100644
--- a/chrome/browser/ui/browser_commands.cc
+++ b/chrome/browser/ui/browser_commands.cc
@@ -633,6 +633,10 @@ bool CanAdvancedPrint(const Browser* browser) {
return PrintPreviewShowing(browser) || CanPrint(browser);
}
+void PrintToDestination(Browser* browser) {
+ browser->GetActiveTabContents()->print_view_manager()->PrintToDestination();
+}
+
void EmailPageLocation(Browser* browser) {
content::RecordAction(UserMetricsAction("EmailPageLocation"));
WebContents* wc = browser->GetActiveWebContents();
« no previous file with comments | « chrome/browser/ui/browser_commands.h ('k') | printing/print_destination_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698