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

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

Issue 8585017: PrintPreview: Honor the print media page size and margin values. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase + fix conflicts Created 9 years 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: chrome/browser/printing/print_preview_message_handler.h
diff --git a/chrome/browser/printing/print_preview_message_handler.h b/chrome/browser/printing/print_preview_message_handler.h
index 8f6b6497f6b5412afcf457d5c29a086f1d7884f4..4dddccf4d16288381dea7829ad1b4fb47632227f 100644
--- a/chrome/browser/printing/print_preview_message_handler.h
+++ b/chrome/browser/printing/print_preview_message_handler.h
@@ -46,7 +46,8 @@ class PrintPreviewMessageHandler : public content::WebContentsObserver {
// Message handlers.
void OnRequestPrintPreview(bool source_is_modifiable);
void OnDidGetDefaultPageLayout(
- const printing::PageSizeMargins& page_layout_in_points);
+ const printing::PageSizeMargins& page_layout_in_points,
+ bool has_custom_page_size_style);
void OnDidGetPreviewPageCount(
const PrintHostMsg_DidGetPreviewPageCount_Params& params);
void OnDidPreviewPage(const PrintHostMsg_DidPreviewPage_Params& params);

Powered by Google App Engine
This is Rietveld 408576698