Skip to content

Commit

Permalink
Use new cellular network status icon for failed connection notification.
Browse files Browse the repository at this point in the history
TBR=sky@chromium.org,stevenjb@chromium.org
BUG=148993


Review URL: https://chromiumcodereview.appspot.com/11308138

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169539 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
harrym@chromium.org committed Nov 27, 2012
1 parent d7134d4 commit a576e26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions ash/resources/ash_resources.grd
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@
<structure type="chrome_scaled_image" name="IDR_AURA_UBER_TRAY_LOGOUT_BUTTON_NORMAL_TOP_RIGHT" file="common/status_logout_button_normal_top_right.png" />

<structure type="chrome_scaled_image" name="IDR_AURA_UBER_TRAY_MORE" file="common/status_more.png" />
<structure type="chrome_scaled_image" name="IDR_AURA_UBER_TRAY_CELLULAR_NETWORK_FAILED" file="common/status_cellular_failed.png" />
<structure type="chrome_scaled_image" name="IDR_AURA_UBER_TRAY_NETWORK_DATA_LOW" file="common/status_data_low.png" />
<structure type="chrome_scaled_image" name="IDR_AURA_UBER_TRAY_NETWORK_DATA_NONE" file="common/status_data_none.png" />
<structure type="chrome_scaled_image" name="IDR_AURA_UBER_TRAY_NETWORK_FAILED" file="common/status_network_failed.png" />
Expand Down
3 changes: 1 addition & 2 deletions ash/system/chromeos/network/tray_network.cc
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ int GetMessageIcon(
switch(message_type) {
case TrayNetwork::ERROR_CONNECT_FAILED:
if (TrayNetwork::NETWORK_CELLULAR == network_type)
// todo(harrym) replace with dedicated icon.
return IDR_AURA_UBER_TRAY_CELLULAR_DISABLED_HOVER;
return IDR_AURA_UBER_TRAY_CELLULAR_NETWORK_FAILED;
else
return IDR_AURA_UBER_TRAY_NETWORK_FAILED;
case TrayNetwork::MESSAGE_DATA_LOW:
Expand Down

0 comments on commit a576e26

Please sign in to comment.