Chromium Code Reviews
DescriptionAdd 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
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=152495
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=152889
Patch Set 1 #
Messages
Total messages: 6 (0 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||