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

Unified Diff: Source/core/page/PrintContext.h

Issue 465983003: Delete PrintContext::spoolAllPagesWithBoundaries (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « no previous file | Source/core/page/PrintContext.cpp » ('j') | Source/web/WebLocalFrameImpl.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/PrintContext.h
diff --git a/Source/core/page/PrintContext.h b/Source/core/page/PrintContext.h
index f1e2d82ec7657c994b39e3d1db9703a0b3da17a6..ea9a3de3f37f7d90fc67868522b50b28b851d058 100644
--- a/Source/core/page/PrintContext.h
+++ b/Source/core/page/PrintContext.h
@@ -62,9 +62,6 @@ public:
// This function can be called multiple times to apply new print options without going back to screen mode.
void begin(float width, float height = 0);
- // FIXME: eliminate width argument.
- void spoolPage(GraphicsContext& ctx, int pageNumber, float width);
-
// Return to screen mode.
void end();
@@ -74,10 +71,6 @@ public:
static bool isPageBoxVisible(LocalFrame* frame, int pageNumber);
static String pageSizeAndMarginsInPixels(LocalFrame* frame, int pageNumber, int width, int height, int marginTop, int marginRight, int marginBottom, int marginLeft);
static int numberOfPages(LocalFrame*, const FloatSize& pageSizeInPixels);
- // Draw all pages into a graphics context with lines which mean page boundaries.
- // The height of the graphics context should be
- // (pageSizeInPixels.height() + 1) * number-of-pages - 1
- static void spoolAllPagesWithBoundaries(LocalFrame*, GraphicsContext&, const FloatSize& pageSizeInPixels);
virtual void trace(Visitor*);
« no previous file with comments | « no previous file | Source/core/page/PrintContext.cpp » ('j') | Source/web/WebLocalFrameImpl.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698