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

Unified Diff: chrome/browser/printing/print_view_manager.h

Issue 7721001: PrintPreview: Make ctrl-shift-p start the native print flow. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + merge conflicts fix Created 9 years, 4 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/printing/print_view_manager.h
diff --git a/chrome/browser/printing/print_view_manager.h b/chrome/browser/printing/print_view_manager.h
index a31087ac39fb038549e88fe2fd109dc67c54e417..ec396e47fb3a89a1f9950355a84d4dabae77c239 100644
--- a/chrome/browser/printing/print_view_manager.h
+++ b/chrome/browser/printing/print_view_manager.h
@@ -46,6 +46,11 @@ class PrintViewManager : public NotificationObserver,
// dialog from print preview.
bool PrintForSystemDialogNow();
+ // Same as PrintNow(), but for the case where a user press "ctrl+shift+p" to
+ // show the native system dialog. This can happen from both initiator tab and
+ // preview tab.
+ bool AdvancedPrintNow();
+
// Initiate print preview of the current document by first notifying the
// renderer. Since this happens asynchronous, the print preview tab creation
// will not be completed on the return of this function. Returns false if

Powered by Google App Engine
This is Rietveld 408576698