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

Unified Diff: printing/printed_document.h

Issue 6673035: Move Start/EndPage() from NewPage/PageDone() to inside the metafile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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: printing/printed_document.h
diff --git a/printing/printed_document.h b/printing/printed_document.h
index 18a68006652f6b5c9733b57968537ffd66c18d6a..85952d89b9f9f675787bdaf3c0f5cfe977ce9882 100644
--- a/printing/printed_document.h
+++ b/printing/printed_document.h
@@ -57,10 +57,10 @@ class PrintedDocument : public base::RefCountedThreadSafe<PrintedDocument> {
// Draws the page in the context.
// Note: locks for a short amount of time in debug only.
#if defined(OS_WIN) || defined(OS_MACOSX)
- void RenderPrintedPage(const PrintedPage& page,
+ bool RenderPrintedPage(const PrintedPage& page,
gfx::NativeDrawingContext context) const;
#elif defined(OS_POSIX)
- void RenderPrintedPage(const PrintedPage& page,
+ bool RenderPrintedPage(const PrintedPage& page,
PrintingContext* context) const;
#endif

Powered by Google App Engine
This is Rietveld 408576698