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

Issue 14969008: Removes the space for notification icon if it's not visible (2nd) (Closed)

Created:
7 years, 7 months ago by Jun Mukai
Modified:
7 years, 7 months ago
Reviewers:
stevenjb
CC:
chromium-reviews, sadrul, ben+watch_chromium.org
Visibility:
Public.

Description

Removes the space for notification icon if it's not visible (2nd) GridLayout will make the space for a child even if the child is not visible, which makes an extra space between status area and panels when there are no notifications. To remove this space, this CL makes StatusAreaWidgetDelegate catch child's visibility change, and do not count invisible children in its GridLayout. The previous CL was reverted due to test break on win_aura. This CL includes its fix. BUG=238770 TBR=stevenjb@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=199451

Patch Set 1 #

Patch Set 2 : fix test #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -10 lines) Patch
M ash/system/status_area_widget_delegate.h View 1 chunk +2 lines, -1 line 0 comments Download
M ash/system/status_area_widget_delegate.cc View 2 chunks +22 lines, -5 lines 0 comments Download
M ash/wm/panels/panel_window_resizer_unittest.cc View 1 2 5 chunks +5 lines, -4 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Jun Mukai
the previous one was reverted due to a test failure on win8_aura. This CL also ...
7 years, 7 months ago (2013-05-09 22:57:59 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mukai@chromium.org/14969008/5001
7 years, 7 months ago (2013-05-09 22:58:25 UTC) #2
commit-bot: I haz the power
7 years, 7 months ago (2013-05-10 10:48:57 UTC) #3
Message was sent while issue was closed.
Change committed as 199451

Powered by Google App Engine
This is Rietveld 408576698