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

Unified Diff: chrome/browser/printing/printer_query.cc

Issue 118338: Add support for printing selection only flag. This only adds the flag to the ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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/printing/printer_query.h ('k') | chrome/browser/printing/win_printing_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/printing/printer_query.cc
===================================================================
--- chrome/browser/printing/printer_query.cc (revision 17852)
+++ chrome/browser/printing/printer_query.cc (working copy)
@@ -64,6 +64,7 @@
void PrinterQuery::GetSettings(GetSettingsAskParam ask_user_for_settings,
HWND parent_window,
int expected_page_count,
+ bool has_selection,
CancelableTask* callback) {
DCHECK_EQ(ui_message_loop_, MessageLoop::current());
DCHECK(!is_print_dialog_box_shown_);
@@ -91,7 +92,8 @@
&PrintJobWorker::GetSettings,
is_print_dialog_box_shown_,
parent_window,
- expected_page_count));
+ expected_page_count,
+ has_selection));
}
void PrinterQuery::StopWorker() {
« no previous file with comments | « chrome/browser/printing/printer_query.h ('k') | chrome/browser/printing/win_printing_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698