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

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: Rebase 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 86ba8d34ffbe04963b367a79253de9fab028d68e..2bc19fc50758bfcb8156f93b11b2358f34adaddc 100644
--- a/chrome/renderer/print_web_view_helper.h
+++ b/chrome/renderer/print_web_view_helper.h
@@ -165,7 +165,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