diff options
author | sverrir@google.com <sverrir@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-08 17:05:21 +0000 |
---|---|---|
committer | sverrir@google.com <sverrir@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-08 17:05:21 +0000 |
commit | c8ad40c6b02751c1cc942abe4ecaffbf68bfa611 (patch) | |
tree | d34b6d63f8a66fb06c3f87ce1914eefb755cf441 /chrome/browser/printing/printer_query.cc | |
parent | a91d541c58ad5e3b46309ee279bc569734a22564 (diff) | |
download | chromium_src-c8ad40c6b02751c1cc942abe4ecaffbf68bfa611.zip chromium_src-c8ad40c6b02751c1cc942abe4ecaffbf68bfa611.tar.gz chromium_src-c8ad40c6b02751c1cc942abe4ecaffbf68bfa611.tar.bz2 |
Add support for printing selection only flag. This only adds the flag to the IPC and implements the Windows dialog interaction but does not enable this just yet.
BUG=http://crbug.com/1682
TEST=none
Review URL: http://codereview.chromium.org/118338
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17867 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/printing/printer_query.cc')
-rw-r--r-- | chrome/browser/printing/printer_query.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/printing/printer_query.cc b/chrome/browser/printing/printer_query.cc index f5ca6a5..3bcee7a 100644 --- a/chrome/browser/printing/printer_query.cc +++ b/chrome/browser/printing/printer_query.cc @@ -64,6 +64,7 @@ PrintJobWorker* PrinterQuery::DetachWorker(PrintJobWorkerOwner* new_owner) { 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 @@ void PrinterQuery::GetSettings(GetSettingsAskParam ask_user_for_settings, &PrintJobWorker::GetSettings, is_print_dialog_box_shown_, parent_window, - expected_page_count)); + expected_page_count, + has_selection)); } void PrinterQuery::StopWorker() { |