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

Issue 10443004: Move common notification layout to base class (Closed)

Created:
8 years, 7 months ago by stevenjb
Modified:
8 years, 7 months ago
Reviewers:
sadrul, jennyz
CC:
chromium-reviews, sadrul, nkostylev+watch_chromium.org, ben+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Move common notification layout to base class Also, don't show tray icons for SMS or locale change BUG=124269 TEST=Set about::flags --ash-notify. Notification views should look consistent. SMS and locale change notifiations should not have visible tray icons. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=138826

Patch Set 1 #

Patch Set 2 : . #

Total comments: 8

Patch Set 3 : Address feedback #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+266 lines, -259 lines) Patch
M ash/system/locale/tray_locale.h View 1 2 3 chunks +2 lines, -3 lines 0 comments Download
M ash/system/locale/tray_locale.cc View 1 2 3 chunks +60 lines, -25 lines 0 comments Download
M ash/system/network/tray_network.cc View 6 chunks +34 lines, -79 lines 0 comments Download
M ash/system/network/tray_sms.h View 1 2 3 chunks +8 lines, -5 lines 0 comments Download
M ash/system/network/tray_sms.cc View 1 2 9 chunks +58 lines, -82 lines 0 comments Download
M ash/system/power/tray_power.cc View 6 chunks +23 lines, -48 lines 0 comments Download
M ash/system/tray/tray_constants.h View 1 1 chunk +1 line, -1 line 0 comments Download
M ash/system/tray/tray_constants.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M ash/system/tray/tray_views.h View 1 2 3 2 chunks +19 lines, -3 lines 0 comments Download
M ash/system/tray/tray_views.cc View 1 2 3 2 chunks +57 lines, -8 lines 0 comments Download
M chrome/browser/chromeos/locale_change_guard.cc View 2 chunks +2 lines, -4 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
stevenjb
Some cleanup to make the system tray notification appearance and behavior consistent now that they ...
8 years, 7 months ago (2012-05-24 00:59:17 UTC) #1
stevenjb
+jennyz FYI (this includes some changes to the power notification layout). These are the last ...
8 years, 7 months ago (2012-05-24 01:01:36 UTC) #2
sadrul
LGTM with the some nits http://codereview.chromium.org/10443004/diff/2001/ash/system/locale/tray_locale.h File ash/system/locale/tray_locale.h (right): http://codereview.chromium.org/10443004/diff/2001/ash/system/locale/tray_locale.h#newcode29 ash/system/locale/tray_locale.h:29: virtual bool GetInitialVisibility() OVERRIDE; ...
8 years, 7 months ago (2012-05-24 04:12:50 UTC) #3
stevenjb
https://chromiumcodereview.appspot.com/10443004/diff/2001/ash/system/locale/tray_locale.h File ash/system/locale/tray_locale.h (right): https://chromiumcodereview.appspot.com/10443004/diff/2001/ash/system/locale/tray_locale.h#newcode29 ash/system/locale/tray_locale.h:29: virtual bool GetInitialVisibility() OVERRIDE; On 2012/05/24 04:12:50, sadrul wrote: ...
8 years, 7 months ago (2012-05-24 16:48:00 UTC) #4
jennyz
LGTM with nit. https://chromiumcodereview.appspot.com/10443004/diff/2001/ash/system/locale/tray_locale.cc File ash/system/locale/tray_locale.cc (right): https://chromiumcodereview.appspot.com/10443004/diff/2001/ash/system/locale/tray_locale.cc#newcode29 ash/system/locale/tray_locale.cc:29: const std::string& cur_locale, Should this be ...
8 years, 7 months ago (2012-05-24 16:55:15 UTC) #5
stevenjb
8 years, 7 months ago (2012-05-24 16:58:29 UTC) #6
https://chromiumcodereview.appspot.com/10443004/diff/2001/ash/system/locale/t...
File ash/system/locale/tray_locale.cc (right):

https://chromiumcodereview.appspot.com/10443004/diff/2001/ash/system/locale/t...
ash/system/locale/tray_locale.cc:29: const std::string& cur_locale,
On 2012/05/24 16:55:15, jennyz wrote:
> Should this be aligned with the previous argument?
Oops, thanks. Done.

Powered by Google App Engine
This is Rietveld 408576698