diff options
author | vitalybuka@chromium.org <vitalybuka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-04 18:34:29 +0000 |
---|---|---|
committer | vitalybuka@chromium.org <vitalybuka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-04 18:34:29 +0000 |
commit | 4c9054b4d4aad1c2b53e2d893e1928b836fad5f2 (patch) | |
tree | 9cd775f2aee0beb7e5fafe526630f123fdec03c1 /printing/printing_context_no_system_dialog.h | |
parent | 08eb4c7b2d85c9b669d9864bc28d419fdd5198c1 (diff) | |
download | chromium_src-4c9054b4d4aad1c2b53e2d893e1928b836fad5f2.zip chromium_src-4c9054b4d4aad1c2b53e2d893e1928b836fad5f2.tar.gz chromium_src-4c9054b4d4aad1c2b53e2d893e1928b836fad5f2.tar.bz2 |
Move settings setup for PDF and cloud print into single location in PrintingContext.
Hard-code CloudPrint printable area until we start to receive this data from server.
BUG=305731
NOTRY=true
Review URL: https://codereview.chromium.org/46623002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232741 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/printing_context_no_system_dialog.h')
-rw-r--r-- | printing/printing_context_no_system_dialog.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/printing/printing_context_no_system_dialog.h b/printing/printing_context_no_system_dialog.h index f45fb46..5472a81 100644 --- a/printing/printing_context_no_system_dialog.h +++ b/printing/printing_context_no_system_dialog.h @@ -27,8 +27,8 @@ class PRINTING_EXPORT PrintingContextNoSystemDialog : public PrintingContext { bool has_selection, const PrintSettingsCallback& callback) OVERRIDE; virtual Result UseDefaultSettings() OVERRIDE; - virtual Result UpdatePrinterSettings(bool target_is_pdf, - bool external_preview) OVERRIDE; + virtual gfx::Size GetPdfPaperSizeDeviceUnits() OVERRIDE; + virtual Result UpdatePrinterSettings(bool external_preview) OVERRIDE; virtual Result InitWithSettings(const PrintSettings& settings) OVERRIDE; virtual Result NewDocument(const base::string16& document_name) OVERRIDE; virtual Result NewPage() OVERRIDE; |