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

Unified Diff: ash/common/system/chromeos/network/tray_network.cc

Issue 2784133002: Cros system menu - Use WiFi strike-through image for "No networks" row (Closed)
Patch Set: fix tray too Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ash/common/system/chromeos/network/tray_network.cc
diff --git a/ash/common/system/chromeos/network/tray_network.cc b/ash/common/system/chromeos/network/tray_network.cc
index 6f5d847eccb0dbd65fe672568b1fd3fd1d991caf..49def643d6b2ea4b7c1a6a9b18d69c63f9dfa347 100644
--- a/ash/common/system/chromeos/network/tray_network.cc
+++ b/ash/common/system/chromeos/network/tray_network.cc
@@ -207,7 +207,8 @@ class NetworkWifiDetailedView : public NetworkDetailedView {
bool wifi_enabled =
NetworkHandler::Get()->network_state_handler()->IsTechnologyEnabled(
NetworkTypePattern::WiFi());
- image_view_->SetImage(network_icon::GetImageForWifiChipState(wifi_enabled));
+ image_view_->SetImage(
+ network_icon::GetBasicImageForWiFiNetwork(wifi_enabled));
const int string_id = wifi_enabled
? IDS_ASH_STATUS_TRAY_NETWORK_WIFI_ENABLED

Powered by Google App Engine
This is Rietveld 408576698