Chromium Code Reviews
DescriptionFix shelf alignment and auto-hide initialization.
Leave the shelf locked and hidden until user prefs are loaded.
(otherwise, a left/right shelf may be placed incorrectly on login)
Make TestShelfDelegate init the shelf prefs, like Chrome would.
Use TestShelfDelegate as the base class in shelf_view_unittest.cc.
To fix mash_unittests:
-Use a TestShellDelegate (and its test sub-delegates).
-Remove TestShelfDelegate's ShelfModel param (WmShell not ready).
-Fix an expectation in AcceleratorControllerTest.GlobalAccelerators.
BUG=681883
TEST=automated; snapped windows don't shrink across login w/left-shelf; no shelf behavior changes.
R=jamescook@chromium.org
Review-Url: https://codereview.chromium.org/2688353005
Cr-Commit-Position: refs/heads/master@{#450378}
Committed: https://chromium.googlesource.com/chromium/src/+/0bc6a07e9b04a8885f9e206f035e7c2e011b132c
Patch Set 1 #Patch Set 2 : Cleanup #
Total comments: 4
Patch Set 3 : Sync and rebase #Patch Set 4 : Fix mash_unittests by installing a TestShellDelegate. #
Total comments: 2
Messages
Total messages: 19 (11 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||