| OLD | NEW |
| 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/system/user/tray_user_separator.h" | 5 #include "ash/system/user/tray_user_separator.h" |
| 6 | 6 |
| 7 #include "ash/session_state_delegate.h" | 7 #include "ash/session_state_delegate.h" |
| 8 #include "ash/shell.h" | 8 #include "ash/shell.h" |
| 9 #include "ui/views/view.h" | 9 #include "ui/views/view.h" |
| 10 | 10 |
| 11 namespace ash { | 11 namespace ash { |
| 12 namespace internal { | |
| 13 | 12 |
| 14 TrayUserSeparator::TrayUserSeparator(SystemTray* system_tray) | 13 TrayUserSeparator::TrayUserSeparator(SystemTray* system_tray) |
| 15 : SystemTrayItem(system_tray), | 14 : SystemTrayItem(system_tray), |
| 16 separator_shown_(false) { | 15 separator_shown_(false) { |
| 17 } | 16 } |
| 18 | 17 |
| 19 views::View* TrayUserSeparator::CreateTrayView(user::LoginStatus status) { | 18 views::View* TrayUserSeparator::CreateTrayView(user::LoginStatus status) { |
| 20 return NULL; | 19 return NULL; |
| 21 } | 20 } |
| 22 | 21 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 37 } | 36 } |
| 38 | 37 |
| 39 views::View* TrayUserSeparator::CreateDetailedView(user::LoginStatus status) { | 38 views::View* TrayUserSeparator::CreateDetailedView(user::LoginStatus status) { |
| 40 return NULL; | 39 return NULL; |
| 41 } | 40 } |
| 42 | 41 |
| 43 void TrayUserSeparator::DestroyDefaultView() { | 42 void TrayUserSeparator::DestroyDefaultView() { |
| 44 separator_shown_ = false; | 43 separator_shown_ = false; |
| 45 } | 44 } |
| 46 | 45 |
| 47 } // namespace internal | |
| 48 } // namespace ash | 46 } // namespace ash |
| OLD | NEW |