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

Unified Diff: chrome/browser/ui/webui/print_preview/print_preview_ui.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/ui/webui/print_preview/print_preview_ui.h
diff --git a/chrome/browser/ui/webui/print_preview/print_preview_ui.h b/chrome/browser/ui/webui/print_preview/print_preview_ui.h
index ada0d5eb64eece2bd476f68da38af75e30f59aad..7523ebf91af7880c5e3e2bff8c438af835c5512b 100644
--- a/chrome/browser/ui/webui/print_preview/print_preview_ui.h
+++ b/chrome/browser/ui/webui/print_preview/print_preview_ui.h
@@ -81,7 +81,7 @@ class PrintPreviewUI : public ConstrainedHtmlUI {
// selected printer and page size.
void OnDidGetDefaultPageLayout(
const printing::PageSizeMargins& page_layout,
- bool has_custom_page_size_style);
+ bool has_custom_page_size_style, bool header_footer_applies);
// Notifies the Web UI that the 0-based page |page_number| has been rendered.
// |preview_request_id| indicates wich request resulted in this response.

Powered by Google App Engine
This is Rietveld 408576698