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

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: Fix win and mac issues Created 8 years, 12 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: 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 9cd8a8dd662daea4d0c8727c6c74d8d8d5dc4147..fe9d1289f7f95f51b4d5cb4d5ee4946c77d26e87 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