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

Issue 12260046: Show notification when activating with no connection (Closed)

Created:
7 years, 10 months ago by stevenjb
Modified:
7 years, 10 months ago
Reviewers:
rkc, jennyz
CC:
chromium-reviews, sadrul, ben+watch_chromium.org, gspencer+watch_chromium.org, gauravsh+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org
Visibility:
Public.

Description

Show notification when activating with no connection This also removes some code that prevented notifications from showing while the detailed view was shown. This behavior is really only desired for SMS, we would actually like to see network/VPN errors. The SMS logic was changed to supress / hide notifications when the detailed view is visible / shown. BUG=172528 For chrome/browser/ui/ash/: TBR=sky@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182645

Patch Set 1 #

Patch Set 2 : . #

Total comments: 4

Patch Set 3 : . #

Patch Set 4 : Fix logic error #

Patch Set 5 : Fix unittests #

Patch Set 6 : Fix logic and type icon #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -27 lines) Patch
M ash/system/chromeos/network/tray_sms.cc View 2 1 chunk +2 lines, -0 lines 0 comments Download
M ash/system/tray/system_tray.cc View 1 chunk +4 lines, -24 lines 0 comments Download
M ash/system/tray/system_tray_unittest.cc View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/app/chromeos_strings.grdp View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/chrome_shell_delegate.cc View 1 2 3 4 5 3 chunks +26 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
stevenjb
7 years, 10 months ago (2013-02-14 23:09:46 UTC) #1
jennyz
https://chromiumcodereview.appspot.com/12260046/diff/2001/ash/system/chromeos/network/tray_sms.cc File ash/system/chromeos/network/tray_sms.cc (right): https://chromiumcodereview.appspot.com/12260046/diff/2001/ash/system/chromeos/network/tray_sms.cc#newcode305 ash/system/chromeos/network/tray_sms.cc:305: HideNotificationView(); Why do you need to HideNotificationView twice?
7 years, 10 months ago (2013-02-14 23:26:44 UTC) #2
rkc
https://chromiumcodereview.appspot.com/12260046/diff/2001/chrome/browser/ui/ash/chrome_shell_delegate.cc File chrome/browser/ui/ash/chrome_shell_delegate.cc (right): https://chromiumcodereview.appspot.com/12260046/diff/2001/chrome/browser/ui/ash/chrome_shell_delegate.cc#newcode262 chrome/browser/ui/ash/chrome_shell_delegate.cc:262: if (cellular && !cellular->activate_over_non_cellular_network() && so I'm reading this ...
7 years, 10 months ago (2013-02-14 23:32:12 UTC) #3
stevenjb
https://chromiumcodereview.appspot.com/12260046/diff/2001/ash/system/chromeos/network/tray_sms.cc File ash/system/chromeos/network/tray_sms.cc (right): https://chromiumcodereview.appspot.com/12260046/diff/2001/ash/system/chromeos/network/tray_sms.cc#newcode305 ash/system/chromeos/network/tray_sms.cc:305: HideNotificationView(); On 2013/02/14 23:26:45, jennyz wrote: > Why do ...
7 years, 10 months ago (2013-02-14 23:32:25 UTC) #4
jennyz
lgtm to files under ash/system.
7 years, 10 months ago (2013-02-14 23:35:12 UTC) #5
stevenjb
https://chromiumcodereview.appspot.com/12260046/diff/2001/chrome/browser/ui/ash/chrome_shell_delegate.cc File chrome/browser/ui/ash/chrome_shell_delegate.cc (right): https://chromiumcodereview.appspot.com/12260046/diff/2001/chrome/browser/ui/ash/chrome_shell_delegate.cc#newcode262 chrome/browser/ui/ash/chrome_shell_delegate.cc:262: if (cellular && !cellular->activate_over_non_cellular_network() && On 2013/02/14 23:32:12, Rahul ...
7 years, 10 months ago (2013-02-14 23:43:17 UTC) #6
rkc
lgtm
7 years, 10 months ago (2013-02-15 00:01:33 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/stevenjb@chromium.org/12260046/7
7 years, 10 months ago (2013-02-15 02:40:47 UTC) #8
commit-bot: I haz the power
Presubmit check for 12260046-7 failed and returned exit status 1. INFO:root:Found 5 file(s). Running presubmit ...
7 years, 10 months ago (2013-02-15 02:40:51 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/stevenjb@chromium.org/12260046/7
7 years, 10 months ago (2013-02-15 02:43:48 UTC) #10
commit-bot: I haz the power
Presubmit check for 12260046-7 failed and returned exit status 1. INFO:root:Found 5 file(s). Running presubmit ...
7 years, 10 months ago (2013-02-15 02:43:52 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/stevenjb@chromium.org/12260046/7
7 years, 10 months ago (2013-02-15 02:46:46 UTC) #12
commit-bot: I haz the power
Presubmit check for 12260046-7 failed and returned exit status 1. INFO:root:Found 5 file(s). Running presubmit ...
7 years, 10 months ago (2013-02-15 02:46:51 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/stevenjb@chromium.org/12260046/7
7 years, 10 months ago (2013-02-15 02:52:36 UTC) #14
commit-bot: I haz the power
7 years, 10 months ago (2013-02-15 08:02:32 UTC) #15
Message was sent while issue was closed.
Change committed as 182645

Powered by Google App Engine
This is Rietveld 408576698