summaryrefslogtreecommitdiffstats
path: root/ppapi/api/dev/ppb_widget_dev.idl
diff options
context:
space:
mode:
authorkinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-21 04:01:33 +0000
committerkinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-21 04:01:33 +0000
commitcf295e45ca1bd9e7a09c56fbf292535d5ad99205 (patch)
treed2c41318e8669d8519c696a85109dbec26b0f5c3 /ppapi/api/dev/ppb_widget_dev.idl
parent25c4d391f56b480f78158c57df3b78053e97ed22 (diff)
downloadchromium_src-cf295e45ca1bd9e7a09c56fbf292535d5ad99205.zip
chromium_src-cf295e45ca1bd9e7a09c56fbf292535d5ad99205.tar.gz
chromium_src-cf295e45ca1bd9e7a09c56fbf292535d5ad99205.tar.bz2
Revert 152495 - Add SetScale to PPB_WidgetDev, use scale for painting
In order to allow for HiDPI-aware scrollbars, this patch allows the plugin to specify a scale factor used during widget paint operations. The widgets (of which Scrollbar is the only current instance) will continue to use the DIP coordinate system for events and sizing, which is consistent with their WebKit implementation. This change should maintain backward compat. with existing users of interface 'PPB_Wdiget(Dev);0.3' BUG=140833 TEST=Run pre-built (with 0.3 interfaces) PDF plugin and verify scrollbars Review URL: https://chromiumcodereview.appspot.com/10824386 TBR=jhorwich@chromium.org Review URL: https://chromiumcodereview.appspot.com/10861026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152499 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/api/dev/ppb_widget_dev.idl')
-rw-r--r--ppapi/api/dev/ppb_widget_dev.idl10
1 files changed, 1 insertions, 9 deletions
diff --git a/ppapi/api/dev/ppb_widget_dev.idl b/ppapi/api/dev/ppb_widget_dev.idl
index 77e5de0..dc97c9f 100644
--- a/ppapi/api/dev/ppb_widget_dev.idl
+++ b/ppapi/api/dev/ppb_widget_dev.idl
@@ -8,8 +8,7 @@
*/
label Chrome {
- M14 = 0.3,
- M23 = 0.4
+ M14 = 0.3
};
/**
@@ -47,11 +46,4 @@ interface PPB_Widget_Dev {
*/
void SetLocation([in] PP_Resource widget,
[in] PP_Rect location);
-
- /**
- * Set scale used during paint operations.
- */
- [version=0.4]
- void SetScale([in] PP_Resource widget,
- [in] float_t scale);
};