diff options
author | yoshiki@chromium.org <yoshiki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-26 19:04:09 +0000 |
---|---|---|
committer | yoshiki@chromium.org <yoshiki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-26 19:04:09 +0000 |
commit | dc3d6dba884c14eb97eb5b7dc9fa8988b2586680 (patch) | |
tree | 7038b1f7504adf8c0295b38d069e5e979276f0e5 /ui/oak/oak_details_model.h | |
parent | 50a16812c794a968c71ec6de2baf3a203c359322 (diff) | |
download | chromium_src-dc3d6dba884c14eb97eb5b7dc9fa8988b2586680.zip chromium_src-dc3d6dba884c14eb97eb5b7dc9fa8988b2586680.tar.gz chromium_src-dc3d6dba884c14eb97eb5b7dc9fa8988b2586680.tar.bz2 |
Full Screen Magnifier: Prevent the unintentional zoom origin drift on unzooming.
This fixes the unintentional zoom origin drift described at http://crbug.com/160472.
Major changes:
- Update the formula of calculate new position in RedrawKeepingMousePosition()
- Use the float instead of integer in calculation of the position.
- Add the float version of ConvertPointToDIP() in dip_util.cc
BUG=160472
TEST=manual
Review URL: https://chromiumcodereview.appspot.com/11348059
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169454 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/oak/oak_details_model.h')
0 files changed, 0 insertions, 0 deletions