summaryrefslogtreecommitdiffstats
path: root/ash
diff options
context:
space:
mode:
authorrkc@chromium.org <rkc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-15 20:58:56 +0000
committerrkc@chromium.org <rkc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-15 20:58:56 +0000
commit08392131bdf655152ca1c5445c52422a99214416 (patch)
treebfde84a09bc25243a91677ba121eda27a779c2c1 /ash
parentd45aa1f5cf91d7f0840f66cfcb1d00ed9ba64c6b (diff)
downloadchromium_src-08392131bdf655152ca1c5445c52422a99214416.zip
chromium_src-08392131bdf655152ca1c5445c52422a99214416.tar.gz
chromium_src-08392131bdf655152ca1c5445c52422a99214416.tar.bz2
When connected to LTE, show the LTE icon.
In the data notification, when connected to LTE, show the LTE icon, not the 3g icon. Also fix the LTE icons in the tray to look clearer. R=stevenjb@chromium.org,benchan@chromium.org,zelidrag@chromium.org BUG=169969 Review URL: https://codereview.chromium.org/11889024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176967 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash')
-rw-r--r--ash/resources/ash_resources.grd1
-rw-r--r--ash/resources/default_100_percent/common/notification_3g.pngbin1388 -> 2138 bytes
-rw-r--r--ash/resources/default_100_percent/common/notification_lte.pngbin0 -> 1885 bytes
-rw-r--r--ash/resources/default_100_percent/cros/network/statusbar_network_gprs.pngbin106 -> 1035 bytes
-rw-r--r--ash/resources/default_100_percent/cros/network/statusbar_network_hspa.pngbin105 -> 1036 bytes
-rw-r--r--ash/resources/default_100_percent/cros/network/statusbar_network_hspa_plus.pngbin115 -> 1049 bytes
-rw-r--r--ash/resources/default_100_percent/cros/network/statusbar_network_lte.pngbin126 -> 1051 bytes
-rw-r--r--ash/resources/default_100_percent/cros/network/statusbar_network_lte_advanced.pngbin122 -> 1066 bytes
-rw-r--r--ash/resources/default_200_percent/common/notification_3g.pngbin0 -> 3625 bytes
-rw-r--r--ash/resources/default_200_percent/common/notification_lte.pngbin0 -> 2655 bytes
-rw-r--r--ash/resources/default_200_percent/cros/network/statusbar_network_gprs.pngbin0 -> 1065 bytes
-rw-r--r--ash/resources/default_200_percent/cros/network/statusbar_network_hspa.pngbin0 -> 1053 bytes
-rw-r--r--ash/resources/default_200_percent/cros/network/statusbar_network_hspa_plus.pngbin0 -> 1086 bytes
-rw-r--r--ash/resources/default_200_percent/cros/network/statusbar_network_lte.pngbin0 -> 1094 bytes
-rw-r--r--ash/resources/default_200_percent/cros/network/statusbar_network_lte_advanced.pngbin0 -> 1102 bytes
-rw-r--r--ash/system/chromeos/network/network_observer.h1
-rw-r--r--ash/system/chromeos/network/tray_network.cc5
17 files changed, 6 insertions, 1 deletions
diff --git a/ash/resources/ash_resources.grd b/ash/resources/ash_resources.grd
index 7d5b4f2..c0e1f31 100644
--- a/ash/resources/ash_resources.grd
+++ b/ash/resources/ash_resources.grd
@@ -141,6 +141,7 @@
<structure type="chrome_scaled_image" name="IDR_AURA_UBER_TRAY_NETWORK_INFO" file="common/status_network_info.png" />
<structure type="chrome_scaled_image" name="IDR_AURA_UBER_TRAY_NETWORK_INFO_HOVER" file="common/status_network_info_h.png" />
<structure type="chrome_scaled_image" name="IDR_AURA_UBER_TRAY_NOTIFICATION_3G" file="common/notification_3g.png" />
+ <structure type="chrome_scaled_image" name="IDR_AURA_UBER_TRAY_NOTIFICATION_LTE" file="common/notification_lte.png" />
<structure type="chrome_scaled_image" name="IDR_AURA_UBER_TRAY_POWER_SMALL" file="common/status_power_small_all.png" />
<structure type="chrome_scaled_image" name="IDR_AURA_UBER_TRAY_POWER_SMALL_DARK" file="common/status_power_small_all_dark.png" />
<structure type="chrome_scaled_image" name="IDR_AURA_UBER_TRAY_SETTINGS" file="common/status_settings.png" />
diff --git a/ash/resources/default_100_percent/common/notification_3g.png b/ash/resources/default_100_percent/common/notification_3g.png
index c86599e..7a5e3f5 100644
--- a/ash/resources/default_100_percent/common/notification_3g.png
+++ b/ash/resources/default_100_percent/common/notification_3g.png
Binary files differ
diff --git a/ash/resources/default_100_percent/common/notification_lte.png b/ash/resources/default_100_percent/common/notification_lte.png
new file mode 100644
index 0000000..146db1d
--- /dev/null
+++ b/ash/resources/default_100_percent/common/notification_lte.png
Binary files differ
diff --git a/ash/resources/default_100_percent/cros/network/statusbar_network_gprs.png b/ash/resources/default_100_percent/cros/network/statusbar_network_gprs.png
index 4d13802..d6f08c3 100644
--- a/ash/resources/default_100_percent/cros/network/statusbar_network_gprs.png
+++ b/ash/resources/default_100_percent/cros/network/statusbar_network_gprs.png
Binary files differ
diff --git a/ash/resources/default_100_percent/cros/network/statusbar_network_hspa.png b/ash/resources/default_100_percent/cros/network/statusbar_network_hspa.png
index 65b2c8c..fea4d73 100644
--- a/ash/resources/default_100_percent/cros/network/statusbar_network_hspa.png
+++ b/ash/resources/default_100_percent/cros/network/statusbar_network_hspa.png
Binary files differ
diff --git a/ash/resources/default_100_percent/cros/network/statusbar_network_hspa_plus.png b/ash/resources/default_100_percent/cros/network/statusbar_network_hspa_plus.png
index 7eab17a..ed6e3e0 100644
--- a/ash/resources/default_100_percent/cros/network/statusbar_network_hspa_plus.png
+++ b/ash/resources/default_100_percent/cros/network/statusbar_network_hspa_plus.png
Binary files differ
diff --git a/ash/resources/default_100_percent/cros/network/statusbar_network_lte.png b/ash/resources/default_100_percent/cros/network/statusbar_network_lte.png
index f27cdc1..b777a23 100644
--- a/ash/resources/default_100_percent/cros/network/statusbar_network_lte.png
+++ b/ash/resources/default_100_percent/cros/network/statusbar_network_lte.png
Binary files differ
diff --git a/ash/resources/default_100_percent/cros/network/statusbar_network_lte_advanced.png b/ash/resources/default_100_percent/cros/network/statusbar_network_lte_advanced.png
index 2813bbc..0d83587 100644
--- a/ash/resources/default_100_percent/cros/network/statusbar_network_lte_advanced.png
+++ b/ash/resources/default_100_percent/cros/network/statusbar_network_lte_advanced.png
Binary files differ
diff --git a/ash/resources/default_200_percent/common/notification_3g.png b/ash/resources/default_200_percent/common/notification_3g.png
new file mode 100644
index 0000000..3e2cd52
--- /dev/null
+++ b/ash/resources/default_200_percent/common/notification_3g.png
Binary files differ
diff --git a/ash/resources/default_200_percent/common/notification_lte.png b/ash/resources/default_200_percent/common/notification_lte.png
new file mode 100644
index 0000000..2207cea
--- /dev/null
+++ b/ash/resources/default_200_percent/common/notification_lte.png
Binary files differ
diff --git a/ash/resources/default_200_percent/cros/network/statusbar_network_gprs.png b/ash/resources/default_200_percent/cros/network/statusbar_network_gprs.png
new file mode 100644
index 0000000..9161cc0
--- /dev/null
+++ b/ash/resources/default_200_percent/cros/network/statusbar_network_gprs.png
Binary files differ
diff --git a/ash/resources/default_200_percent/cros/network/statusbar_network_hspa.png b/ash/resources/default_200_percent/cros/network/statusbar_network_hspa.png
new file mode 100644
index 0000000..d7ad918
--- /dev/null
+++ b/ash/resources/default_200_percent/cros/network/statusbar_network_hspa.png
Binary files differ
diff --git a/ash/resources/default_200_percent/cros/network/statusbar_network_hspa_plus.png b/ash/resources/default_200_percent/cros/network/statusbar_network_hspa_plus.png
new file mode 100644
index 0000000..82832c8
--- /dev/null
+++ b/ash/resources/default_200_percent/cros/network/statusbar_network_hspa_plus.png
Binary files differ
diff --git a/ash/resources/default_200_percent/cros/network/statusbar_network_lte.png b/ash/resources/default_200_percent/cros/network/statusbar_network_lte.png
new file mode 100644
index 0000000..52de0f9
--- /dev/null
+++ b/ash/resources/default_200_percent/cros/network/statusbar_network_lte.png
Binary files differ
diff --git a/ash/resources/default_200_percent/cros/network/statusbar_network_lte_advanced.png b/ash/resources/default_200_percent/cros/network/statusbar_network_lte_advanced.png
new file mode 100644
index 0000000..f964449
--- /dev/null
+++ b/ash/resources/default_200_percent/cros/network/statusbar_network_lte_advanced.png
Binary files differ
diff --git a/ash/system/chromeos/network/network_observer.h b/ash/system/chromeos/network/network_observer.h
index 3b43a71..f5dfbf9 100644
--- a/ash/system/chromeos/network/network_observer.h
+++ b/ash/system/chromeos/network/network_observer.h
@@ -33,6 +33,7 @@ class NetworkObserver {
// ash relevant subset of network_constants.h connection type.
NETWORK_ETHERNET,
NETWORK_CELLULAR,
+ NETWORK_CELLULAR_LTE,
NETWORK_WIFI,
NETWORK_BLUETOOTH,
NETWORK_UNKNOWN,
diff --git a/ash/system/chromeos/network/tray_network.cc b/ash/system/chromeos/network/tray_network.cc
index 41118c0..54c2ed0 100644
--- a/ash/system/chromeos/network/tray_network.cc
+++ b/ash/system/chromeos/network/tray_network.cc
@@ -44,7 +44,10 @@ int GetMessageIcon(
else
return IDR_AURA_UBER_TRAY_NETWORK_FAILED;
case TrayNetwork::MESSAGE_DATA_PROMO:
- return IDR_AURA_UBER_TRAY_NOTIFICATION_3G;
+ if (network_type == TrayNetwork::NETWORK_CELLULAR_LTE)
+ return IDR_AURA_UBER_TRAY_NOTIFICATION_LTE;
+ else
+ return IDR_AURA_UBER_TRAY_NOTIFICATION_3G;
}
NOTREACHED();
return 0;