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

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: '' 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 9232579b5ea257ac127f91b18fa941e54ed2c395..2b0b37a2791e3b07bd17554642afaa6c42bac0a9 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