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

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

Issue 2338103002: CrOS MD - use vectorized icons for ethernet and VPN. (Closed)
Patch Set: rename Wifi to Mobile 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
« no previous file with comments | « chrome/browser/chromeos/status/network_menu.cc ('k') | ui/chromeos/network/network_icon.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..6c8b691dff5add0bec466acabdd7afa46d4f4c1b 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 GetImageForConnectedMobileNetwork();
+
+// 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(
« no previous file with comments | « chrome/browser/chromeos/status/network_menu.cc ('k') | ui/chromeos/network/network_icon.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698