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

Unified Diff: printing/printing_context_mac.h

Issue 7348010: Added Header and Footer support using Skia (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Changes based on Kausalya's comments Created 9 years, 4 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: printing/printing_context_mac.h
diff --git a/printing/printing_context_mac.h b/printing/printing_context_mac.h
index cb3e0e2115af7fee679f554e3b89a860c8789e20..594b438365e67077d283ce279aaacc839f24991d 100644
--- a/printing/printing_context_mac.h
+++ b/printing/printing_context_mac.h
@@ -47,7 +47,11 @@ class PrintingContextMac : public PrintingContext {
// printing.
// This function ignores the page range information specified in the print
// info object and use |ranges| instead.
- void InitPrintSettingsFromPrintInfo(const PageRanges& ranges);
+ // Also initializes the header footer strings present in |header_footer_info|
+ // based on the page layout.
+ void InitPrintSettingsFromPrintInfo(
+ const PageRanges& ranges,
+ const base::DictionaryValue& header_footer_info);
// Returns the set of page ranges constructed from |print_info_|.
PageRanges GetPageRangesFromPrintInfo();

Powered by Google App Engine
This is Rietveld 408576698