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

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: Rename WebPrintScalingOptions to WebPrintScalingOption. Created 8 years, 8 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
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 932143b46bccb712c69f78420e4037da5b92e940..9a37dcea22fc4d91f1776b44c743f945167b5e49 100644
--- a/webkit/plugins/ppapi/ppapi_plugin_instance.h
+++ b/webkit/plugins/ppapi/ppapi_plugin_instance.h
@@ -233,7 +233,14 @@ class WEBKIT_PLUGINS_EXPORT PluginInstance :
bool SupportsPrintInterface();
bool IsPrintScalingDisabled();
- int PrintBegin(const gfx::Rect& printable_area, int printer_dpi);
+
+ // TODO(kmadhusu): Change the data type of |print_scaling_option| to
+ // WebKit::WebPrintScalingOption after fixing crbug.com/85132.
dmichael (off chromium) 2012/04/20 23:01:45 Are you sure that's going to work okay? int and We
vandebo (ex-Chrome) 2012/04/21 01:06:49 Kausalya and I talked about it, and yes, the enum
kmadhusu 2012/04/23 16:39:30 As you said int and WebPrintScalingOption are dist
dmichael (off chromium) 2012/04/23 17:02:40 Okay, that would have worked for the initial commi
+ int PrintBegin(const gfx::Rect& content_area,
+ const gfx::Rect& printable_area,
+ const gfx::Size& paper_size,
+ int print_scaling_option,
+ int printer_dpi);
bool PrintPage(int page_number, WebKit::WebCanvas* canvas);
void PrintEnd();

Powered by Google App Engine
This is Rietveld 408576698