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

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

Issue 2095193002: clang-format all of //ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/tray/system_tray_item.cc ('k') | ash/common/system/tray/tray_background_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/tray/throbber_view.cc
diff --git a/ash/common/system/tray/throbber_view.cc b/ash/common/system/tray/throbber_view.cc
index 081fe283497829d974a4cd2248014b04e19ecae4..5141b9c508a39abded1a8cab90e29afb0a1424bc 100644
--- a/ash/common/system/tray/throbber_view.cc
+++ b/ash/common/system/tray/throbber_view.cc
@@ -18,11 +18,9 @@ const int kThrobberAnimationDurationMs = 200;
} // namespace
-SystemTrayThrobber::SystemTrayThrobber() : views::SmoothedThrobber() {
-}
+SystemTrayThrobber::SystemTrayThrobber() : views::SmoothedThrobber() {}
-SystemTrayThrobber::~SystemTrayThrobber() {
-}
+SystemTrayThrobber::~SystemTrayThrobber() {}
void SystemTrayThrobber::SetTooltipText(const base::string16& tooltip_text) {
tooltip_text_ = tooltip_text;
@@ -47,8 +45,7 @@ ThrobberView::ThrobberView() {
layer()->SetOpacity(0.0);
}
-ThrobberView::~ThrobberView() {
-}
+ThrobberView::~ThrobberView() {}
gfx::Size ThrobberView::GetPreferredSize() const {
return gfx::Size(ash::kTrayPopupItemHeight, ash::kTrayPopupItemHeight);
@@ -57,8 +54,7 @@ gfx::Size ThrobberView::GetPreferredSize() const {
void ThrobberView::Layout() {
View* child = child_at(0);
gfx::Size ps = child->GetPreferredSize();
- child->SetBounds((width() - ps.width()) / 2,
- (height() - ps.height()) / 2,
+ child->SetBounds((width() - ps.width()) / 2, (height() - ps.height()) / 2,
ps.width(), ps.height());
SizeToPreferredSize();
}
« no previous file with comments | « ash/common/system/tray/system_tray_item.cc ('k') | ash/common/system/tray/tray_background_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698