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

Unified Diff: public/web/WebPlugin.h

Issue 1182113004: Change return type of printPage (Part#4) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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/WebPluginContainerImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebPlugin.h
diff --git a/public/web/WebPlugin.h b/public/web/WebPlugin.h
index e5a6258224646c4c16fc3d48c3432d0a086548ae..af3d0d0d1ea4a74608d63b78b1b9936edcd18599 100644
--- a/public/web/WebPlugin.h
+++ b/public/web/WebPlugin.h
@@ -131,10 +131,9 @@ public:
// pages to be printed at these settings.
virtual int printBegin(const WebPrintParams& printParams) { return 0; }
- // Prints the page specified by pageNumber (0-based index) into the supplied canvas.
- virtual bool printPage(int pageNumber, WebCanvas* canvas) { return false; }
// TODO: Remove third parameter when both blink and chromium changes land for bug496765
virtual void printPage(int pageNumber, WebCanvas* canvas, bool unused) { }
+ virtual void printPage(int pageNumber, WebCanvas* canvas) { }
// Ends the print operation.
virtual void printEnd() { }
« no previous file with comments | « Source/web/WebPluginContainerImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698