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

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

Issue 2480203002: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Sync CL to position 430550 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 | « ash/common/system/tray/label_tray_view.cc ('k') | ash/common/system/tray/system_menu_button.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/tray/special_popup_row.cc
diff --git a/ash/common/system/tray/special_popup_row.cc b/ash/common/system/tray/special_popup_row.cc
index 53ac53250baf3e79686078f23b7ca962024f7961..4700d0536a2e67c9afca623275e1aa9ce1212f05 100644
--- a/ash/common/system/tray/special_popup_row.cc
+++ b/ash/common/system/tray/special_popup_row.cc
@@ -54,7 +54,7 @@ views::View* CreateViewContainer() {
} else {
view->SetLayoutManager(
new views::BoxLayout(views::BoxLayout::kHorizontal, 0, 0, 0));
- view->SetBorder(views::Border::CreateEmptyBorder(4, 0, 4, 5));
+ view->SetBorder(views::CreateEmptyBorder(4, 0, 4, 5));
}
return view;
@@ -68,13 +68,13 @@ SpecialPopupRow::SpecialPopupRow()
views_after_content_container_(nullptr),
label_(nullptr) {
if (MaterialDesignController::IsSystemTrayMenuMaterial()) {
- SetBorder(views::Border::CreateSolidSidedBorder(0, 0, kBorderHeight, 0,
- kBorderColor));
+ SetBorder(
+ views::CreateSolidSidedBorder(0, 0, kBorderHeight, 0, kBorderColor));
} else {
set_background(
views::Background::CreateSolidBackground(kHeaderBackgroundColor));
- SetBorder(views::Border::CreateSolidSidedBorder(kBorderHeight, 0, 0, 0,
- kBorderColor));
+ SetBorder(
+ views::CreateSolidSidedBorder(kBorderHeight, 0, 0, 0, kBorderColor));
}
}
@@ -241,8 +241,8 @@ void SpecialPopupRow::AddViewAfterContent(views::View* view,
views::Separator* separator =
new views::Separator(views::Separator::VERTICAL);
separator->SetColor(ash::kBorderDarkColor);
- separator->SetBorder(views::Border::CreateEmptyBorder(kSeparatorInset, 0,
- kSeparatorInset, 0));
+ separator->SetBorder(
+ views::CreateEmptyBorder(kSeparatorInset, 0, kSeparatorInset, 0));
views_after_content_container_->AddChildView(separator);
}
@@ -286,7 +286,7 @@ void SpecialPopupRow::SetTextLabelNonMd(int string_id,
rb.GetLocalizedString(string_id), true /* highlight */);
container->SetBorder(
- views::Border::CreateEmptyBorder(0, kTrayPopupPaddingHorizontal, 0, 0));
+ views::CreateEmptyBorder(0, kTrayPopupPaddingHorizontal, 0, 0));
container->SetAccessibleName(
rb.GetLocalizedString(IDS_ASH_STATUS_TRAY_PREVIOUS_MENU));
« no previous file with comments | « ash/common/system/tray/label_tray_view.cc ('k') | ash/common/system/tray/system_menu_button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698