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

Unified Diff: ash/common/system/tray/system_tray_item.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.h ('k') | ash/common/system/tray/throbber_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/tray/system_tray_item.cc
diff --git a/ash/common/system/tray/system_tray_item.cc b/ash/common/system/tray/system_tray_item.cc
index 0995cd89d30c4f1bdb881dce028226df8d3eac2b..83f54c1a42ac67646e0eb8a699c8fdf0853170e4 100644
--- a/ash/common/system/tray/system_tray_item.cc
+++ b/ash/common/system/tray/system_tray_item.cc
@@ -11,12 +11,9 @@
namespace ash {
SystemTrayItem::SystemTrayItem(SystemTray* system_tray)
- : system_tray_(system_tray),
- restore_focus_(false) {
-}
+ : system_tray_(system_tray), restore_focus_(false) {}
-SystemTrayItem::~SystemTrayItem() {
-}
+SystemTrayItem::~SystemTrayItem() {}
views::View* SystemTrayItem::CreateTrayView(LoginStatus status) {
return NULL;
@@ -34,17 +31,13 @@ views::View* SystemTrayItem::CreateNotificationView(LoginStatus status) {
return NULL;
}
-void SystemTrayItem::DestroyTrayView() {
-}
+void SystemTrayItem::DestroyTrayView() {}
-void SystemTrayItem::DestroyDefaultView() {
-}
+void SystemTrayItem::DestroyDefaultView() {}
-void SystemTrayItem::DestroyDetailedView() {
-}
+void SystemTrayItem::DestroyDetailedView() {}
-void SystemTrayItem::DestroyNotificationView() {
-}
+void SystemTrayItem::DestroyNotificationView() {}
void SystemTrayItem::TransitionDetailedView() {
system_tray()->ShowDetailedView(this, 0, true, BUBBLE_USE_EXISTING);
@@ -56,8 +49,8 @@ void SystemTrayItem::UpdateAfterShelfAlignmentChange(ShelfAlignment alignment) {
}
void SystemTrayItem::PopupDetailedView(int for_seconds, bool activate) {
- system_tray()->ShowDetailedView(
- this, for_seconds, activate, BUBBLE_CREATE_NEW);
+ system_tray()->ShowDetailedView(this, for_seconds, activate,
+ BUBBLE_CREATE_NEW);
}
void SystemTrayItem::SetDetailedViewCloseDelay(int for_seconds) {
« no previous file with comments | « ash/common/system/tray/system_tray_item.h ('k') | ash/common/system/tray/throbber_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698