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

Unified Diff: chrome/browser/chromeos/status/network_menu.cc

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 | « ash/common/system/chromeos/network/tray_vpn.cc ('k') | ui/chromeos/network/network_icon.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/status/network_menu.cc
diff --git a/chrome/browser/chromeos/status/network_menu.cc b/chrome/browser/chromeos/status/network_menu.cc
index bc1fafc2a11c888982894ffb0a73299e3cebc342..9f326b4eb53cec5608214e1ccbc7499d832e1d25 100644
--- a/chrome/browser/chromeos/status/network_menu.cc
+++ b/chrome/browser/chromeos/status/network_menu.cc
@@ -459,8 +459,7 @@ void MainMenuModel::InitMenuItems(bool should_open_button_options) {
handler->GetDeviceStateByType(NetworkTypePattern::Cellular());
if (cellular_device && cellular_device->support_network_scan()) {
const gfx::ImageSkia icon =
- ui::network_icon::GetImageForDisconnectedNetwork(
- ui::network_icon::ICON_TYPE_LIST, shill::kTypeCellular);
+ ui::network_icon::GetImageForDisconnectedCellNetwork();
menu_items_.push_back(MenuItem(
ui::MenuModel::TYPE_COMMAND,
l10n_util::GetStringUTF16(
@@ -508,8 +507,8 @@ void MainMenuModel::InitMenuItems(bool should_open_button_options) {
}
if (scanning_msg)
AddMessageItem(l10n_util::GetStringUTF16(scanning_msg));
- const gfx::ImageSkia icon = ui::network_icon::GetImageForConnectedNetwork(
- ui::network_icon::ICON_TYPE_LIST, shill::kTypeWifi);
+ const gfx::ImageSkia icon =
+ ui::network_icon::GetImageForConnectedMobileNetwork();
menu_items_.push_back(MenuItem(
ui::MenuModel::TYPE_COMMAND,
l10n_util::GetStringUTF16(IDS_OPTIONS_SETTINGS_OTHER_WIFI_NETWORKS),
« no previous file with comments | « ash/common/system/chromeos/network/tray_vpn.cc ('k') | ui/chromeos/network/network_icon.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698