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

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

Issue 2342793005: [ash-md] Adds Wi-Fi header row to system tray network detailed view (Closed)
Patch Set: [ash-md] Materializes system tray network detailed view (nits) Created 4 years, 2 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 | « ui/chromeos/BUILD.gn ('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 6c8b691dff5add0bec466acabdd7afa46d4f4c1b..347adb74770cf3c4b1b04c15253712f75ea7ad22 100644
--- a/ui/chromeos/network/network_icon.h
+++ b/ui/chromeos/network/network_icon.h
@@ -22,9 +22,9 @@ class AnimationObserver;
// Type of icon which dictates color theme and VPN badging
enum IconType {
- ICON_TYPE_TRAY, // light icons with VPN badges
+ ICON_TYPE_TRAY, // light icons with VPN badges
ICON_TYPE_DEFAULT_VIEW, // dark icons with VPN badges
- ICON_TYPE_LIST, // dark icons without VPN badges
+ ICON_TYPE_LIST, // dark icons without VPN badges
};
// Gets the image for the network associated with |service_path|. |network| must
@@ -34,7 +34,7 @@ UI_CHROMEOS_EXPORT gfx::ImageSkia GetImageForNetwork(
const chromeos::NetworkState* network,
IconType icon_type);
-// Gets the fulls strength image for a wifi network.
+// Gets the full strength image for a Wi-Fi network.
// TODO(estade): Expose SignalStrengthImageSource and use that instead.
UI_CHROMEOS_EXPORT gfx::ImageSkia GetImageForConnectedMobileNetwork();
@@ -42,6 +42,12 @@ UI_CHROMEOS_EXPORT gfx::ImageSkia GetImageForConnectedMobileNetwork();
// TODO(estade): Expose SignalStrengthImageSource and use that instead.
UI_CHROMEOS_EXPORT gfx::ImageSkia GetImageForDisconnectedCellNetwork();
+// Gets the full strength image for a Wi-Fi network using |icon_color| for the
+// main icon and |badge_color| for the badge.
+UI_CHROMEOS_EXPORT gfx::ImageSkia GetImageForNewWifiNetwork(
+ SkColor icon_color,
+ SkColor badge_color);
+
// Returns a vpn image suitable for use on a light background.
UI_CHROMEOS_EXPORT gfx::ImageSkia GetVpnImage();
« no previous file with comments | « ui/chromeos/BUILD.gn ('k') | ui/chromeos/network/network_icon.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698