DescriptionAppListController now responsible for ensuring app list stays centered.
Just a refactor; effectively reverting SVN 266176 and rewriting it so
that AppListController re-centers the app list when the screen bounds
change (AppListView no longer needs to do this itself).
Rationale: This architecture is simpler. On subsequent CLs I was having
trouble plumbing more state (specifically, the virtual keyboard state)
down into AppListView; this will mean we can do it from
AppListController which has easy access to the virtual keyboard.
BUG=363928
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=267720
Patch Set 1 #
Total comments: 7
Patch Set 2 : Simplify (suggested by varkha). #Patch Set 3 : Use GetScreenCenter abstraction. #
Messages
Total messages: 24 (0 generated)
|