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

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

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/print_job_worker.cc ('k') | chrome/browser/printing/print_settings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/printing/print_settings.h
===================================================================
--- chrome/browser/printing/print_settings.h (revision 17852)
+++ chrome/browser/printing/print_settings.h (working copy)
@@ -30,7 +30,8 @@
void Init(HDC hdc,
const DEVMODE& dev_mode,
const PageRanges& new_ranges,
- const std::wstring& new_device_name);
+ const std::wstring& new_device_name,
+ bool selection_only);
#endif
// Set printer printable area in in pixels.
@@ -78,6 +79,9 @@
// The various overlays (headers and footers).
PageOverlays overlays;
+ // Indicates if the user only wants to print the current selection.
+ bool selection_only;
+
// Cookie generator. It is used to initialize PrintedDocument with its
// associated PrintSettings, to be sure that each generated PrintedPage is
// correctly associated with its corresponding PrintedDocument.
« no previous file with comments | « chrome/browser/printing/print_job_worker.cc ('k') | chrome/browser/printing/print_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698