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

Issue 459123002: Remove status icon if there are no more notifications. (Closed)

Created:
6 years, 4 months ago by dewittj
Modified:
6 years, 4 months ago
Reviewers:
Jun Mukai
CC:
chromium-reviews, tfarina
Project:
chromium
Visibility:
Public.

Description

Remove status icon if there are no more notifications. This will match the behavior on ChromeOS and ensure that users without notifications will not be annoyed by the Chrome notifications center icon in the status tray. BUG=401215 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289128

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address nit. #

Patch Set 3 : Fix test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -1 line) Patch
M chrome/browser/ui/views/message_center/web_notification_tray.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/message_center/web_notification_tray_browsertest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
dewittj
PTAL
6 years, 4 months ago (2014-08-11 18:45:55 UTC) #1
Jun Mukai
lgtm with a nit https://codereview.chromium.org/459123002/diff/1/chrome/browser/ui/views/message_center/web_notification_tray.cc File chrome/browser/ui/views/message_center/web_notification_tray.cc (right): https://codereview.chromium.org/459123002/diff/1/chrome/browser/ui/views/message_center/web_notification_tray.cc#newcode281 chrome/browser/ui/views/message_center/web_notification_tray.cc:281: if (visible_notifications == 0) { ...
6 years, 4 months ago (2014-08-11 19:13:40 UTC) #2
dewittj
https://codereview.chromium.org/459123002/diff/1/chrome/browser/ui/views/message_center/web_notification_tray.cc File chrome/browser/ui/views/message_center/web_notification_tray.cc (right): https://codereview.chromium.org/459123002/diff/1/chrome/browser/ui/views/message_center/web_notification_tray.cc#newcode281 chrome/browser/ui/views/message_center/web_notification_tray.cc:281: if (visible_notifications == 0) { On 2014/08/11 19:13:40, Jun ...
6 years, 4 months ago (2014-08-11 19:51:24 UTC) #3
dewittj
The CQ bit was checked by dewittj@chromium.org
6 years, 4 months ago (2014-08-11 19:51:29 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dewittj@chromium.org/459123002/20001
6 years, 4 months ago (2014-08-11 19:53:31 UTC) #5
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_triggered_tests on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-11 23:54:19 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-12 00:18:11 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_triggered_tests on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_triggered_tests/builds/4553)
6 years, 4 months ago (2014-08-12 00:18:13 UTC) #8
dewittj
The CQ bit was checked by dewittj@chromium.org
6 years, 4 months ago (2014-08-12 00:18:40 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dewittj@chromium.org/459123002/20001
6 years, 4 months ago (2014-08-12 00:29:48 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel on tryserver.chromium.win ...
6 years, 4 months ago (2014-08-12 04:49:40 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-12 06:31:28 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel/builds/5744)
6 years, 4 months ago (2014-08-12 06:31:28 UTC) #13
dewittj
The CQ bit was checked by dewittj@chromium.org
6 years, 4 months ago (2014-08-12 21:01:29 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dewittj@chromium.org/459123002/40001
6 years, 4 months ago (2014-08-12 21:08:13 UTC) #15
commit-bot: I haz the power
6 years, 4 months ago (2014-08-13 00:08:08 UTC) #16
Message was sent while issue was closed.
Change committed as 289128

Powered by Google App Engine
This is Rietveld 408576698