Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(181)

Issue 10701051: Polish launcher tooltip visibility (2nd try). (Closed)

Created:
8 years, 5 months ago by Jun Mukai
Modified:
8 years, 5 months ago
Reviewers:
DaveMoore, Daniel Erat
CC:
chromium-reviews, sadrul, ben+watch_chromium.org
Visibility:
Public.

Description

Polish 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 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+240 lines, -16 lines) Patch
M ash/ash.gyp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ash/launcher/launcher.h View 2 chunks +3 lines, -1 line 0 comments Download
M ash/launcher/launcher.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M ash/launcher/launcher_tooltip_manager.h View 1 2 3 4 5 6 5 chunks +17 lines, -3 lines 0 comments Download
M ash/launcher/launcher_tooltip_manager.cc View 1 2 3 4 5 6 7 chunks +52 lines, -5 lines 0 comments Download
A ash/launcher/launcher_tooltip_manager_unittest.cc View 1 2 3 4 1 chunk +116 lines, -0 lines 0 comments Download
M ash/launcher/launcher_view.h View 2 chunks +4 lines, -1 line 0 comments Download
M ash/launcher/launcher_view.cc View 1 2 2 chunks +4 lines, -2 lines 0 comments Download
M ash/launcher/launcher_view_unittest.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M ash/shell.cc View 3 4 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/shelf_layout_manager.h View 1 2 3 4 5 4 chunks +18 lines, -0 lines 0 comments Download
M ash/wm/shelf_layout_manager.cc View 1 2 3 4 5 5 chunks +18 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Jun Mukai
8 years, 5 months ago (2012-07-02 11:16:52 UTC) #1
Daniel Erat
The code LGTM, but can you add tests for this?
8 years, 5 months ago (2012-07-02 15:01:26 UTC) #2
Jun Mukai
Added launcher_tooltip_manager_unittest.cc for the behaviors around visibility. Can you take another look at this?
8 years, 5 months ago (2012-07-04 09:06:57 UTC) #3
Daniel Erat
LGTM. Thanks! http://codereview.chromium.org/10701051/diff/1014/ash/launcher/launcher_tooltip_manager_unittest.cc File ash/launcher/launcher_tooltip_manager_unittest.cc (right): http://codereview.chromium.org/10701051/diff/1014/ash/launcher/launcher_tooltip_manager_unittest.cc#newcode55 ash/launcher/launcher_tooltip_manager_unittest.cc:55: // Show delayed do not show at ...
8 years, 5 months ago (2012-07-04 16:31:44 UTC) #4
Jun Mukai
http://codereview.chromium.org/10701051/diff/1014/ash/launcher/launcher_tooltip_manager_unittest.cc File ash/launcher/launcher_tooltip_manager_unittest.cc (right): http://codereview.chromium.org/10701051/diff/1014/ash/launcher/launcher_tooltip_manager_unittest.cc#newcode55 ash/launcher/launcher_tooltip_manager_unittest.cc:55: // Show delayed do not show at that time, ...
8 years, 5 months ago (2012-07-05 02:33:15 UTC) #5
Jun Mukai
Oops, I changed the code a bit. Dan, could you take another look at this? ...
8 years, 5 months ago (2012-07-06 06:55:54 UTC) #6
Daniel Erat
lgtm
8 years, 5 months ago (2012-07-09 15:42:44 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mukai@chromium.org/10701051/9008
8 years, 5 months ago (2012-07-10 02:34:34 UTC) #8
commit-bot: I haz the power
8 years, 5 months ago (2012-07-10 03:40:23 UTC) #9
Change committed as 145837

Powered by Google App Engine
This is Rietveld 408576698