| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef ASH_SYSTEM_USER_ACCOUNTS_DETAILED_VIEW_H_ | 5 #ifndef ASH_SYSTEM_USER_ACCOUNTS_DETAILED_VIEW_H_ |
| 6 #define ASH_SYSTEM_USER_ACCOUNTS_DETAILED_VIEW_H_ | 6 #define ASH_SYSTEM_USER_ACCOUNTS_DETAILED_VIEW_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "ash/system/tray/tray_details_view.h" | 11 #include "ash/system/tray/tray_details_view.h" |
| 12 #include "ash/system/tray/view_click_listener.h" | 12 #include "ash/system/tray/view_click_listener.h" |
| 13 #include "ash/system/user/login_status.h" | 13 #include "ash/system/user/login_status.h" |
| 14 #include "ash/system/user/user_accounts_delegate.h" | 14 #include "ash/system/user/user_accounts_delegate.h" |
| 15 #include "ash/system/user/user_view.h" | 15 #include "ash/system/user/user_view.h" |
| 16 #include "base/macros.h" | 16 #include "base/macros.h" |
| 17 #include "grit/ash_strings.h" | 17 #include "grit/ash_strings.h" |
| 18 #include "ui/base/l10n/l10n_util.h" | |
| 19 #include "ui/views/controls/button/button.h" | 18 #include "ui/views/controls/button/button.h" |
| 20 #include "ui/views/controls/label.h" | 19 #include "ui/views/controls/label.h" |
| 21 | 20 |
| 22 namespace ash { | 21 namespace ash { |
| 23 | 22 |
| 24 class TrayUser; | 23 class TrayUser; |
| 25 | 24 |
| 26 namespace tray { | 25 namespace tray { |
| 27 | 26 |
| 28 // This detailed view appears after a click on the primary user's card when the | 27 // This detailed view appears after a click on the primary user's card when the |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 views::View* add_user_button_; | 60 views::View* add_user_button_; |
| 62 std::map<views::View*, std::string> delete_button_to_account_id_; | 61 std::map<views::View*, std::string> delete_button_to_account_id_; |
| 63 | 62 |
| 64 DISALLOW_COPY_AND_ASSIGN(AccountsDetailedView); | 63 DISALLOW_COPY_AND_ASSIGN(AccountsDetailedView); |
| 65 }; | 64 }; |
| 66 | 65 |
| 67 } // namespace tray | 66 } // namespace tray |
| 68 } // namespace ash | 67 } // namespace ash |
| 69 | 68 |
| 70 #endif // ASH_SYSTEM_USER_ACCOUNTS_DETAILED_VIEW_H_ | 69 #endif // ASH_SYSTEM_USER_ACCOUNTS_DETAILED_VIEW_H_ |
| OLD | NEW |