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

Unified Diff: public/web/WebFrame.h

Issue 24304003: Clear the usage of useBrowserOverlays from WebFrame/Impl and ChromePrintContext (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 3 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
« no previous file with comments | « Source/web/WebFrameImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebFrame.h
diff --git a/public/web/WebFrame.h b/public/web/WebFrame.h
index 211def68aed06bc968232765d3d6b6d4962f7ed1..a25f6f8c135af0558e8e0c403b409b55f67cfd15 100644
--- a/public/web/WebFrame.h
+++ b/public/web/WebFrame.h
@@ -465,12 +465,8 @@ public:
// scaling option. If constrainToNode node is specified, then only the given node
// is printed (for now only plugins are supported), instead of the entire frame.
// Returns the number of pages that can be printed at the given
- // page size. The out param useBrowserOverlays specifies whether the browser
- // process should use its overlays (header, footer, margins etc) or whether
- // the renderer controls this.
- virtual int printBegin(const WebPrintParams&,
- const WebNode& constrainToNode = WebNode(),
- bool* useBrowserOverlays = 0) = 0;
+ // page size.
+ virtual int printBegin(const WebPrintParams&, const WebNode& constrainToNode = WebNode()) = 0;
// Returns the page shrinking factor calculated by webkit (usually
// between 1/1.25 and 1/2). Returns 0 if the page number is invalid or
« no previous file with comments | « Source/web/WebFrameImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698