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

Unified Diff: ppapi/api/dev/ppp_printing_dev.idl

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: '' 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: ppapi/api/dev/ppp_printing_dev.idl
diff --git a/ppapi/api/dev/ppp_printing_dev.idl b/ppapi/api/dev/ppp_printing_dev.idl
index 62cc23e38582d70fc24991b159427c27f965191a..af234728506966a62f2773bc68cae8788b431518 100644
--- a/ppapi/api/dev/ppp_printing_dev.idl
+++ b/ppapi/api/dev/ppp_printing_dev.idl
@@ -27,13 +27,16 @@ enum PP_PrintOutputFormat_Dev {
PP_PRINTOUTPUTFORMAT_EMF = 1u << 3
};
-[assert_size(32)]
+[assert_size(60)]
struct PP_PrintSettings_Dev {
/** This is the size of the printable area in points (1/72 of an inch) */
PP_Rect printable_area;
+ PP_Rect content_area;
+ PP_Size paper_size;
int32_t dpi;
PP_PrintOrientation_Dev orientation;
PP_Bool grayscale;
+ PP_Bool fit_to_paper_size;
PP_PrintOutputFormat_Dev format;
};

Powered by Google App Engine
This is Rietveld 408576698