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

Unified Diff: ash/common/system/tray/tray_popup_utils.cc

Issue 2530763002: [ash-md] Adjusts layout of lists with sticky header rows to match specs (Closed)
Patch Set: [ash-md] Adjusts layout of lists with sticky header rows to match specs (rebased) 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/tray/tray_popup_utils.cc
diff --git a/ash/common/system/tray/tray_popup_utils.cc b/ash/common/system/tray/tray_popup_utils.cc
index a7cda5a74fec0bd57c525c16bb061856ee7a0b44..df01354414b4b84791d18e9981c1aef74e6795d5 100644
--- a/ash/common/system/tray/tray_popup_utils.cc
+++ b/ash/common/system/tray/tray_popup_utils.cc
@@ -427,6 +427,16 @@ views::Separator* TrayPopupUtils::CreateListItemSeparator(bool left_inset) {
return separator;
}
+views::Separator* TrayPopupUtils::CreateListHeaderSeparator() {
+ views::Separator* separator =
+ new views::Separator(views::Separator::HORIZONTAL);
+ separator->SetColor(kHorizontalSeparatorColor);
+ separator->SetPreferredSize(kSeparatorWidth);
+ separator->SetBorder(views::CreateEmptyBorder(
+ kMenuSeparatorVerticalPadding - kSeparatorWidth, 0, 0, 0));
+ return separator;
+}
+
bool TrayPopupUtils::CanOpenWebUISettings(LoginStatus status) {
// TODO(tdanderson): Consider moving this into WmShell, or introduce a
// CanShowSettings() method in each delegate type that has a

Powered by Google App Engine
This is Rietveld 408576698