DescriptionGallery: Random fixes for the Viewport class.
The CL do:
* Remove the device rect argument from paintDeviceRect because the rectangle can
be calculated from other arguments.
* Remove setByFrame(AndFit) helper functions that are used only once each to simplify
the Viewport class.
* Rename getScreenClipped with getImageBoundsOnScreenClipped. The old name
sounds it retuns the bounds of screen.
* Add getImageElementBounds to obtain the bounds before applying zoom and
offset.
BUG=245926
TEST=manually
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=283719
Patch Set 1 #
Total comments: 10
Patch Set 2 : Fixed. #
Messages
Total messages: 9 (0 generated)
|