| 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/user_view.h" | 5 #include "ash/system/user/user_view.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <utility> | 8 #include <utility> |
| 9 | 9 |
| 10 #include "ash/common/session/session_state_delegate.h" | 10 #include "ash/common/session/session_state_delegate.h" |
| 11 #include "ash/common/shell_window_ids.h" | 11 #include "ash/common/shell_window_ids.h" |
| 12 #include "ash/common/system/tray/system_tray_delegate.h" |
| 12 #include "ash/common/wm_lookup.h" | 13 #include "ash/common/wm_lookup.h" |
| 13 #include "ash/common/wm_root_window_controller.h" | 14 #include "ash/common/wm_root_window_controller.h" |
| 14 #include "ash/common/wm_window.h" | 15 #include "ash/common/wm_window.h" |
| 15 #include "ash/multi_profile_uma.h" | 16 #include "ash/multi_profile_uma.h" |
| 16 #include "ash/popup_message.h" | 17 #include "ash/popup_message.h" |
| 17 #include "ash/shell.h" | 18 #include "ash/shell.h" |
| 18 #include "ash/shell_delegate.h" | 19 #include "ash/shell_delegate.h" |
| 19 #include "ash/system/tray/system_tray.h" | 20 #include "ash/system/tray/system_tray.h" |
| 20 #include "ash/system/tray/system_tray_delegate.h" | |
| 21 #include "ash/system/tray/tray_popup_label_button.h" | 21 #include "ash/system/tray/tray_popup_label_button.h" |
| 22 #include "ash/system/tray/tray_popup_label_button_border.h" | 22 #include "ash/system/tray/tray_popup_label_button_border.h" |
| 23 #include "ash/system/user/button_from_view.h" | 23 #include "ash/system/user/button_from_view.h" |
| 24 #include "ash/system/user/rounded_image_view.h" | 24 #include "ash/system/user/rounded_image_view.h" |
| 25 #include "ash/system/user/user_card_view.h" | 25 #include "ash/system/user/user_card_view.h" |
| 26 #include "components/signin/core/account_id/account_id.h" | 26 #include "components/signin/core/account_id/account_id.h" |
| 27 #include "components/user_manager/user_info.h" | 27 #include "components/user_manager/user_info.h" |
| 28 #include "grit/ash_resources.h" | 28 #include "grit/ash_resources.h" |
| 29 #include "grit/ash_strings.h" | 29 #include "grit/ash_strings.h" |
| 30 #include "ui/base/l10n/l10n_util.h" | 30 #include "ui/base/l10n/l10n_util.h" |
| (...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 523 focus_manager_ = NULL; | 523 focus_manager_ = NULL; |
| 524 if (user_card_view_->GetFocusManager()) | 524 if (user_card_view_->GetFocusManager()) |
| 525 user_card_view_->GetFocusManager()->ClearFocus(); | 525 user_card_view_->GetFocusManager()->ClearFocus(); |
| 526 popup_message_.reset(); | 526 popup_message_.reset(); |
| 527 mouse_watcher_.reset(); | 527 mouse_watcher_.reset(); |
| 528 add_menu_option_.reset(); | 528 add_menu_option_.reset(); |
| 529 } | 529 } |
| 530 | 530 |
| 531 } // namespace tray | 531 } // namespace tray |
| 532 } // namespace ash | 532 } // namespace ash |
| OLD | NEW |