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 #include "ash/system/user/accounts_detailed_view.h" | 5 #include "ash/system/user/accounts_detailed_view.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "ash/multi_profile_uma.h" | 9 #include "ash/multi_profile_uma.h" |
10 #include "ash/shell.h" | 10 #include "ash/shell.h" |
11 #include "ash/system/tray/fixed_sized_scroll_view.h" | 11 #include "ash/system/tray/fixed_sized_scroll_view.h" |
12 #include "ash/system/tray/hover_highlight_view.h" | 12 #include "ash/system/tray/hover_highlight_view.h" |
13 #include "ash/system/tray/system_tray.h" | 13 #include "ash/system/tray/system_tray.h" |
14 #include "ash/system/tray/system_tray_delegate.h" | 14 #include "ash/system/tray/system_tray_delegate.h" |
15 #include "ash/system/tray/tray_constants.h" | 15 #include "ash/system/tray/tray_constants.h" |
16 #include "ash/system/tray/tray_popup_header_button.h" | 16 #include "ash/system/tray/tray_popup_header_button.h" |
17 #include "ash/system/user/config.h" | 17 #include "ash/system/user/config.h" |
18 #include "ash/system/user/tray_user.h" | 18 #include "ash/system/user/tray_user.h" |
19 #include "base/strings/utf_string_conversions.h" | 19 #include "base/strings/utf_string_conversions.h" |
20 #include "components/user_manager/user_info.h" | 20 #include "components/user_manager/user_info.h" |
21 #include "grit/ash_resources.h" | 21 #include "grit/ash_resources.h" |
| 22 #include "grit/ash_strings.h" |
22 #include "ui/base/l10n/l10n_util.h" | 23 #include "ui/base/l10n/l10n_util.h" |
23 #include "ui/base/resource/resource_bundle.h" | 24 #include "ui/base/resource/resource_bundle.h" |
24 #include "ui/views/border.h" | 25 #include "ui/views/border.h" |
25 #include "ui/views/layout/box_layout.h" | 26 #include "ui/views/layout/box_layout.h" |
26 #include "ui/views/layout/grid_layout.h" | 27 #include "ui/views/layout/grid_layout.h" |
27 | 28 |
28 namespace ash { | 29 namespace ash { |
29 namespace tray { | 30 namespace tray { |
30 | 31 |
31 namespace { | 32 namespace { |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 views::Button::STATE_HOVERED, | 227 views::Button::STATE_HOVERED, |
227 rb.GetImageNamed(IDR_AURA_UBER_TRAY_REMOVE_ACCOUNT_HOVER).ToImageSkia()); | 228 rb.GetImageNamed(IDR_AURA_UBER_TRAY_REMOVE_ACCOUNT_HOVER).ToImageSkia()); |
228 delete_button->SetImage( | 229 delete_button->SetImage( |
229 views::Button::STATE_PRESSED, | 230 views::Button::STATE_PRESSED, |
230 rb.GetImageNamed(IDR_AURA_UBER_TRAY_REMOVE_ACCOUNT_HOVER).ToImageSkia()); | 231 rb.GetImageNamed(IDR_AURA_UBER_TRAY_REMOVE_ACCOUNT_HOVER).ToImageSkia()); |
231 return delete_button; | 232 return delete_button; |
232 } | 233 } |
233 | 234 |
234 } // namespace tray | 235 } // namespace tray |
235 } // namespace ash | 236 } // namespace ash |
OLD | NEW |