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

Unified Diff: webkit/plugins/ppapi/ppapi_webplugin_impl.h

Issue 10083059: [Print Preview] Modified PP_PrintSettings_Dev interface to support auto fit to page functionality. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix version Created 8 years, 7 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 | « webkit/plugins/ppapi/ppapi_plugin_instance.cc ('k') | webkit/plugins/ppapi/ppapi_webplugin_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/ppapi_webplugin_impl.h
diff --git a/webkit/plugins/ppapi/ppapi_webplugin_impl.h b/webkit/plugins/ppapi/ppapi_webplugin_impl.h
index af9ce5e0db19ae4bbe571f8acf5442a64d0dfce3..54e782a3fa028130ebae719c2fef0f8743444d5c 100644
--- a/webkit/plugins/ppapi/ppapi_webplugin_impl.h
+++ b/webkit/plugins/ppapi/ppapi_webplugin_impl.h
@@ -18,6 +18,7 @@
namespace WebKit {
struct WebPluginParams;
+struct WebPrintParams;
}
namespace webkit {
@@ -73,8 +74,12 @@ class WebPluginImpl : public WebKit::WebPlugin {
virtual void stopFind();
virtual bool supportsPaginatedPrint() OVERRIDE;
virtual bool isPrintScalingDisabled() OVERRIDE;
- virtual int printBegin(const WebKit::WebRect& printable_area,
- int printer_dpi) OVERRIDE;
+
+ // TODO(kmadhusu): Remove this function after fixing crbug.com/85132 and add
+ // OVERRIDE keyword to the overloaded function.
+ virtual int printBegin(const WebKit::WebRect& content_area,
+ int printer_dpi);
+ virtual int printBegin(const WebKit::WebPrintParams& print_params);
virtual bool printPage(int page_number, WebKit::WebCanvas* canvas) OVERRIDE;
virtual void printEnd() OVERRIDE;
« no previous file with comments | « webkit/plugins/ppapi/ppapi_plugin_instance.cc ('k') | webkit/plugins/ppapi/ppapi_webplugin_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698