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

Unified Diff: chrome/renderer/print_web_view_helper.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/renderer/print_web_view_helper.h
diff --git a/chrome/renderer/print_web_view_helper.h b/chrome/renderer/print_web_view_helper.h
index c90689bd8a17e6216d724e7d9466d26a7850157a..d5abe78161211b3ec6c071a82b32ac55d1a4b76c 100644
--- a/chrome/renderer/print_web_view_helper.h
+++ b/chrome/renderer/print_web_view_helper.h
@@ -164,7 +164,7 @@ class PrintWebViewHelper
void OnPrintPreview(const base::DictionaryValue& settings);
// Initialize the print preview document.
- bool CreatePreviewDocument();
+ bool CreatePreviewDocument(int margins_type);
// Renders a print preview page. |page_number| is 0-based.
// Returns true if print preview should continue, false on failure.

Powered by Google App Engine
This is Rietveld 408576698