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

Unified Diff: ash/common/system/chromeos/network/network_state_list_detailed_view.cc

Issue 2509473002: MD CrOS - Fix indentation of network detail rows (VPN, wifi, etc.) (Closed)
Patch Set: Created 4 years, 1 month 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/chromeos/network/network_state_list_detailed_view.cc
diff --git a/ash/common/system/chromeos/network/network_state_list_detailed_view.cc b/ash/common/system/chromeos/network/network_state_list_detailed_view.cc
index bf85b2f589388dfd8c3b59121775c1cc5f003e13..b5607948afe8e761baf3f8b3beec5135d19e36b1 100644
--- a/ash/common/system/chromeos/network/network_state_list_detailed_view.cc
+++ b/ash/common/system/chromeos/network/network_state_list_detailed_view.cc
@@ -951,10 +951,12 @@ views::View* NetworkStateListDetailedView::CreateViewForNetwork(
const NetworkInfo& info) {
HoverHighlightView* view = new HoverHighlightView(this);
view->AddIconAndLabel(info.image, info.label, info.highlight);
- view->SetBorder(
- views::CreateEmptyBorder(0, kTrayPopupPaddingHorizontal, 0, 0));
- views::View* controlled_icon = CreateControlledByExtensionView(info);
view->set_tooltip(info.tooltip);
+ if (!UseMd()) {
+ view->SetBorder(
+ views::CreateEmptyBorder(0, kTrayPopupPaddingHorizontal, 0, 0));
+ }
+ views::View* controlled_icon = CreateControlledByExtensionView(info);
if (controlled_icon)
view->AddChildView(controlled_icon);
return view;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698