| 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 ae319a8d65f1973ba90047b1325b88f1e6944ac8..2249c089f53ec056dca2f8409c8a1769a99cd21b 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 WebSize;
|
| }
|
|
|
| namespace webkit {
|
| @@ -77,8 +78,16 @@ 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::WebRect& content_area,
|
| + const WebKit::WebRect& printable_area,
|
| + const WebKit::WebSize& paper_size,
|
| + int print_scaling_option,
|
| + int printer_dpi);
|
| virtual bool printPage(int page_number, WebKit::WebCanvas* canvas) OVERRIDE;
|
| virtual void printEnd() OVERRIDE;
|
|
|
|
|