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(); |