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

Side by Side Diff: ash/common/system/user/tray_user_separator.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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ash/common/system/user/tray_user_separator.h" 5 #include "ash/common/system/user/tray_user_separator.h"
6 6
7 #include "ash/common/session/session_state_delegate.h" 7 #include "ash/common/session/session_state_delegate.h"
8 #include "ash/common/wm_shell.h" 8 #include "ash/common/wm_shell.h"
9 #include "ui/views/view.h" 9 #include "ui/views/view.h"
10 10
11 namespace ash { 11 namespace ash {
12 12
13 TrayUserSeparator::TrayUserSeparator(SystemTray* system_tray) 13 TrayUserSeparator::TrayUserSeparator(SystemTray* system_tray)
14 : SystemTrayItem(system_tray), 14 : SystemTrayItem(system_tray), separator_shown_(false) {}
15 separator_shown_(false) {
16 }
17 15
18 views::View* TrayUserSeparator::CreateTrayView(LoginStatus status) { 16 views::View* TrayUserSeparator::CreateTrayView(LoginStatus status) {
19 return NULL; 17 return NULL;
20 } 18 }
21 19
22 views::View* TrayUserSeparator::CreateDefaultView(LoginStatus status) { 20 views::View* TrayUserSeparator::CreateDefaultView(LoginStatus status) {
23 if (status == LoginStatus::NOT_LOGGED_IN) 21 if (status == LoginStatus::NOT_LOGGED_IN)
24 return NULL; 22 return NULL;
25 23
26 const SessionStateDelegate* session_state_delegate = 24 const SessionStateDelegate* session_state_delegate =
(...skipping 12 matching lines...) Expand all
39 37
40 views::View* TrayUserSeparator::CreateDetailedView(LoginStatus status) { 38 views::View* TrayUserSeparator::CreateDetailedView(LoginStatus status) {
41 return NULL; 39 return NULL;
42 } 40 }
43 41
44 void TrayUserSeparator::DestroyDefaultView() { 42 void TrayUserSeparator::DestroyDefaultView() {
45 separator_shown_ = false; 43 separator_shown_ = false;
46 } 44 }
47 45
48 } // namespace ash 46 } // namespace ash
OLDNEW
« no previous file with comments | « ash/common/system/user/rounded_image_view.cc ('k') | ash/common/wm/dock/docked_window_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698