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

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

Issue 2512883002: [Chrome OS MD] Update Cast and VPN to follow MD layout (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
Index: ash/common/system/chromeos/network/vpn_list_view.cc
diff --git a/ash/common/system/chromeos/network/vpn_list_view.cc b/ash/common/system/chromeos/network/vpn_list_view.cc
index 938a9bd5be588501ea4d741816f2522ee5b366c3..628231dd6a729d0c13d4960cfe86b9f136ba3642 100644
--- a/ash/common/system/chromeos/network/vpn_list_view.cc
+++ b/ash/common/system/chromeos/network/vpn_list_view.cc
@@ -284,8 +284,8 @@ void VPNListNetworkEntry::UpdateFromNetworkState(
}
SetBorder(
- views::CreateEmptyBorder(0, kTrayPopupPaddingHorizontal, 0,
- UseMd() ? kTrayPopupButtonEndMargin : 3));
+ views::CreateEmptyBorder(0, UseMd() ? 0 : kTrayPopupPaddingHorizontal,
bruthig 2016/11/23 20:15:47 Do the horizontal insets need to be updated for ro
yiyix 2016/11/24 21:38:16 I updated the code path such that all border chang
bruthig 2016/11/24 22:36:29 Acknowledged.
+ 0, UseMd() ? kTrayPopupButtonEndMargin : 3));
} else {
SetBorder(views::CreateEmptyBorder(0, kTrayPopupPaddingHorizontal, 0, 0));
}

Powered by Google App Engine
This is Rietveld 408576698