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

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: Self CR changes 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
Index: chrome/browser/ui/browser_commands.cc
diff --git a/chrome/browser/ui/browser_commands.cc b/chrome/browser/ui/browser_commands.cc
index 8e386fc6cab021cae8019a51479fa881d49db67d..7395d7ffcb834f34e2a1fc7a8b0a30763609d1e1 100644
--- a/chrome/browser/ui/browser_commands.cc
+++ b/chrome/browser/ui/browser_commands.cc
@@ -477,6 +477,10 @@ void AdvancedPrint(Browser* browser) {
browser->GetActiveTabContents()->print_view_manager()->AdvancedPrintNow();
}
+void PrintToDestination(Browser* browser) {
+ browser->GetActiveTabContents()->print_view_manager()->PrintToDestination();
+}
+
void EmailPageLocation(Browser* browser) {
content::RecordAction(UserMetricsAction("EmailPageLocation"));
WebContents* wc = browser->GetActiveWebContents();

Powered by Google App Engine
This is Rietveld 408576698