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

Unified Diff: webkit/plugins/ppapi/ppapi_plugin_instance.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 | « ppapi/c/dev/ppp_printing_dev.h ('k') | webkit/plugins/ppapi/ppapi_plugin_instance.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/ppapi_plugin_instance.h
diff --git a/webkit/plugins/ppapi/ppapi_plugin_instance.h b/webkit/plugins/ppapi/ppapi_plugin_instance.h
index e05ca632efcce7baf1300762e4b63995eda44b00..63b742f08c7f5d934cce5df0ae65ad2d335bbd4b 100644
--- a/webkit/plugins/ppapi/ppapi_plugin_instance.h
+++ b/webkit/plugins/ppapi/ppapi_plugin_instance.h
@@ -60,6 +60,7 @@ class WebMouseEvent;
class WebPluginContainer;
struct WebCompositionUnderline;
struct WebCursorInfo;
+struct WebPrintParams;
}
namespace ppapi {
@@ -227,7 +228,7 @@ class WEBKIT_PLUGINS_EXPORT PluginInstance :
bool SupportsPrintInterface();
bool IsPrintScalingDisabled();
- int PrintBegin(const gfx::Rect& printable_area, int printer_dpi);
+ int PrintBegin(const WebKit::WebPrintParams& print_params);
bool PrintPage(int page_number, WebKit::WebCanvas* canvas);
void PrintEnd();
« no previous file with comments | « ppapi/c/dev/ppp_printing_dev.h ('k') | webkit/plugins/ppapi/ppapi_plugin_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698