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

Unified Diff: ash/common/system/chromeos/network/network_icon.h

Issue 2784133002: Cros system menu - Use WiFi strike-through image for "No networks" row (Closed)
Patch Set: docs 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
« no previous file with comments | « no previous file | ash/common/system/chromeos/network/network_icon.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/chromeos/network/network_icon.h
diff --git a/ash/common/system/chromeos/network/network_icon.h b/ash/common/system/chromeos/network/network_icon.h
index 3c0058cbeb3af8dd23f6823575f9328a79a77fe4..78001d94296887e104119c13ac8412d83bf4c732 100644
--- a/ash/common/system/chromeos/network/network_icon.h
+++ b/ash/common/system/chromeos/network/network_icon.h
@@ -33,9 +33,10 @@ ASH_EXPORT gfx::ImageSkia GetImageForNetwork(
const chromeos::NetworkState* network,
IconType icon_type);
-// Gets the full strength image for a Wi-Fi network.
+// Gets an image for a Wi-Fi network, either full strength or strike-through
+// based on |connected|.
// TODO(estade): Expose SignalStrengthImageSource and use that instead.
-ASH_EXPORT gfx::ImageSkia GetImageForConnectedMobileNetwork();
+ASH_EXPORT gfx::ImageSkia GetBasicImageForWiFiNetwork(bool connected);
// Gets the disconnected image for a cell network.
// TODO(estade): Expose SignalStrengthImageSource and use that instead.
@@ -46,9 +47,6 @@ ASH_EXPORT gfx::ImageSkia GetImageForDisconnectedCellNetwork();
ASH_EXPORT gfx::ImageSkia GetImageForNewWifiNetwork(SkColor icon_color,
SkColor badge_color);
-// Gets the icon used to indicate whether system Wi-Fi is enabled or disabled.
-ASH_EXPORT gfx::ImageSkia GetImageForWifiChipState(bool enabled);
-
// Returns the label for |network| based on |icon_type|. |network| cannot be
// nullptr.
ASH_EXPORT base::string16 GetLabelForNetwork(
« no previous file with comments | « no previous file | ash/common/system/chromeos/network/network_icon.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698