| 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..365c0d2a7ed55c5a7cfaf4e6f2cb871e83f72fc4 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,7 +78,10 @@ class WebPluginImpl : public WebKit::WebPlugin {
|
| virtual void stopFind();
|
| virtual bool supportsPaginatedPrint() OVERRIDE;
|
| virtual bool isPrintScalingDisabled() OVERRIDE;
|
| - virtual int printBegin(const WebKit::WebRect& printable_area,
|
| + virtual int printBegin(const WebKit::WebRect& content_area,
|
| + const WebKit::WebRect& printable_area,
|
| + const WebKit::WebSize& paper_size,
|
| + bool fit_to_paper_size,
|
| int printer_dpi) OVERRIDE;
|
| virtual bool printPage(int page_number, WebKit::WebCanvas* canvas) OVERRIDE;
|
| virtual void printEnd() OVERRIDE;
|
|
|