forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove dip scale dependency from ui::WindowAndroid
Starting from Android N dip scale can be changed dynamically. In this CL we remove the dip scale impliciltly stored in WindowAndroid's |content_offset_| and use the scale at the time of calculations that involve the content offset. This is a prerequisite for https://codereview.chromium.org/2202123002/ BUG=620929 Review-Url: https://codereview.chromium.org/2249243002 Cr-Commit-Position: refs/heads/master@{#412653}
- Loading branch information
timav
authored and
Commit bot
committed
Aug 17, 2016
1 parent
21576e2
commit 164e1ee
Showing
4 changed files
with
11 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters