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

Unified Diff: printing/printing_context.h

Issue 480303002: Use document from preview for System Dialog printing on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tue 08/19/2014 11:17:57.84 Created 6 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: printing/printing_context.h
diff --git a/printing/printing_context.h b/printing/printing_context.h
index 823a5af446678fe32d30c0eae831807e89b8997c..9ec822376518870c6fd29c91254b44e24708f775 100644
--- a/printing/printing_context.h
+++ b/printing/printing_context.h
@@ -60,12 +60,14 @@ class PRINTING_EXPORT PrintingContext {
// Updates printer settings.
// |external_preview| is true if pdf is going to be opened in external
// preview. Used by MacOS only now to open Preview.app.
- virtual Result UpdatePrinterSettings(bool external_preview) = 0;
+ virtual Result UpdatePrinterSettings(bool external_preview,
+ bool show_system_dialog,
+ gfx::NativeView parent_view) = 0;
// Updates Print Settings. |job_settings| contains all print job
// settings information. |ranges| has the new page range settings.
- Result UpdatePrintSettings(const base::DictionaryValue& job_settings);
-
+ Result UpdatePrintSettings(const base::DictionaryValue& job_settings,
+ gfx::NativeView parent_view);
// Initializes with predefined settings.
virtual Result InitWithSettings(const PrintSettings& settings) = 0;

Powered by Google App Engine
This is Rietveld 408576698