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

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

Issue 9699040: PrintPreview: Hide/Show the header footer option based on print frame margins. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: '' Created 8 years, 9 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 64e843c7df9a8a5d53bd47b6b1e5368cf0228d7f..b5982ff31b4a75efa8010ecf730f0b5080bb91da 100644
--- a/chrome/browser/printing/print_preview_message_handler.h
+++ b/chrome/browser/printing/print_preview_message_handler.h
@@ -47,7 +47,7 @@ class PrintPreviewMessageHandler : public content::WebContentsObserver {
void OnRequestPrintPreview(bool source_is_modifiable, bool webnode_only);
void OnDidGetDefaultPageLayout(
const printing::PageSizeMargins& page_layout_in_points,
- bool has_custom_page_size_style);
+ bool has_custom_page_size_style, bool header_footer_applies);
void OnDidGetPreviewPageCount(
const PrintHostMsg_DidGetPreviewPageCount_Params& params);
void OnDidPreviewPage(const PrintHostMsg_DidPreviewPage_Params& params);

Powered by Google App Engine
This is Rietveld 408576698