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

Unified Diff: public/web/WebPlugin.h

Issue 1165103004: printPage to return void instead of bool (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebaseline fixes 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/tests/WebPluginContainerTest.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 7b6ebaf4fb6d53deb0d157f1aadf4198ffe52d60..e5a6258224646c4c16fc3d48c3432d0a086548ae 100644
--- a/public/web/WebPlugin.h
+++ b/public/web/WebPlugin.h
@@ -133,6 +133,9 @@ public:
// 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) { }
+
// Ends the print operation.
virtual void printEnd() { }
« no previous file with comments | « Source/web/tests/WebPluginContainerTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698