DescriptionPolish launcher tooltip visibility (2nd try).
Previous patch has broken win_aura build so reverted. This also fixes the build breaks.
Add ShelfLayoutManager::Observer for two cases:
- AutoHide: catches the auto hiding status to close the tooltip property
- FullScreen: catches the shelf visibility changes to close it too
Check the visibility of Shelf itself in case of tooltip showing. Then the toolip
won't show if the shelf is hidden.
R=derat@chromium.org,davemoore@chromium.org
BUG=133551
TEST=manually done on lumpy, made sure aura_shell_unittests passed
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=145837
Patch Set 1 #Patch Set 2 : . #Patch Set 3 : add launcher_tooltip_manager_unittest.cc #Patch Set 4 : add the _unittest.cc file itself #
Total comments: 2
Patch Set 5 : fix comments #Patch Set 6 : remove crash bug on win_aura trybot #Patch Set 7 : . #
Messages
Total messages: 9 (0 generated)
|