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

Unified Diff: ui/chromeos/network/network_icon.h

Issue 2338103002: CrOS MD - use vectorized icons for ethernet and VPN. (Closed)
Patch Set: Created 4 years, 3 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: ui/chromeos/network/network_icon.h
diff --git a/ui/chromeos/network/network_icon.h b/ui/chromeos/network/network_icon.h
index 2167343365555b5a3693d2466fb27ee06519a88d..31efdb3655f68aa0dd5e0a928e068e4c346a6ad0 100644
--- a/ui/chromeos/network/network_icon.h
+++ b/ui/chromeos/network/network_icon.h
@@ -34,20 +34,16 @@ UI_CHROMEOS_EXPORT gfx::ImageSkia GetImageForNetwork(
const chromeos::NetworkState* network,
IconType icon_type);
-// Gets the fulls strength image for a connected network type.
-UI_CHROMEOS_EXPORT gfx::ImageSkia GetImageForConnectedNetwork(
- IconType icon_type,
- const std::string& network_type);
-
-// Gets the image for a connecting network type.
-UI_CHROMEOS_EXPORT gfx::ImageSkia GetImageForConnectingNetwork(
- IconType icon_type,
- const std::string& network_type);
-
-// Gets the image for a disconnected network type.
-UI_CHROMEOS_EXPORT gfx::ImageSkia GetImageForDisconnectedNetwork(
- IconType icon_type,
- const std::string& network_type);
+// Gets the fulls strength image for a wifi network.
+// TODO(estade): Expose SignalStrengthImageSource and use that instead.
+UI_CHROMEOS_EXPORT gfx::ImageSkia GetImageForConnectedWifiNetwork();
+
+// Gets the disconnected image for a cell network.
+// TODO(estade): Expose SignalStrengthImageSource and use that instead.
+UI_CHROMEOS_EXPORT gfx::ImageSkia GetImageForDisconnectedCellNetwork();
+
+// Returns a vpn image suitable for use on a light background.
+UI_CHROMEOS_EXPORT gfx::ImageSkia GetVpnImage();
// Returns the label for |network| based on |icon_type|. |network| can be NULL.
UI_CHROMEOS_EXPORT base::string16 GetLabelForNetwork(

Powered by Google App Engine
This is Rietveld 408576698