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

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 f97d49ccedb93b03c80fd131a4a07e5f23eff740..4e23e12c6ffe73229178a0694c36e83f396db99f 100644
--- a/chrome/browser/printing/print_preview_message_handler.h
+++ b/chrome/browser/printing/print_preview_message_handler.h
@@ -15,6 +15,10 @@ struct PrintHostMsg_DidGetPreviewPageCount_Params;
struct PrintHostMsg_DidPreviewDocument_Params;
struct PrintHostMsg_DidPreviewPage_Params;
+namespace gfx {
+class Rect;
+}
+
namespace printing {
struct PageSizeMargins;
@@ -46,6 +50,7 @@ class PrintPreviewMessageHandler : public content::WebContentsObserver {
void OnRequestPrintPreview(bool source_is_modifiable, bool webnode_only);
void OnDidGetDefaultPageLayout(
const printing::PageSizeMargins& page_layout_in_points,
+ const gfx::Rect& printable_area_in_points,
bool has_custom_page_size_style);
void OnDidGetPreviewPageCount(
const PrintHostMsg_DidGetPreviewPageCount_Params& params);

Powered by Google App Engine
This is Rietveld 408576698