| 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/multi_profile_uma.h" | 10 #include "ash/multi_profile_uma.h" |
| 11 #include "ash/public/cpp/shell_window_ids.h" | 11 #include "ash/public/cpp/shell_window_ids.h" |
| 12 #include "ash/resources/grit/ash_resources.h" | |
| 13 #include "ash/resources/vector_icons/vector_icons.h" | 12 #include "ash/resources/vector_icons/vector_icons.h" |
| 14 #include "ash/root_window_controller.h" | 13 #include "ash/root_window_controller.h" |
| 15 #include "ash/session/session_controller.h" | 14 #include "ash/session/session_controller.h" |
| 16 #include "ash/shell.h" | 15 #include "ash/shell.h" |
| 17 #include "ash/shell_delegate.h" | 16 #include "ash/shell_delegate.h" |
| 18 #include "ash/shell_port.h" | 17 #include "ash/shell_port.h" |
| 19 #include "ash/strings/grit/ash_strings.h" | 18 #include "ash/strings/grit/ash_strings.h" |
| 20 #include "ash/system/tray/system_tray.h" | 19 #include "ash/system/tray/system_tray.h" |
| 21 #include "ash/system/tray/system_tray_controller.h" | 20 #include "ash/system/tray/system_tray_controller.h" |
| 22 #include "ash/system/tray/system_tray_delegate.h" | 21 #include "ash/system/tray/system_tray_delegate.h" |
| (...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 414 focus_manager_->RemoveFocusChangeListener(this); | 413 focus_manager_->RemoveFocusChangeListener(this); |
| 415 focus_manager_ = nullptr; | 414 focus_manager_ = nullptr; |
| 416 if (user_card_container_->GetFocusManager()) | 415 if (user_card_container_->GetFocusManager()) |
| 417 user_card_container_->GetFocusManager()->ClearFocus(); | 416 user_card_container_->GetFocusManager()->ClearFocus(); |
| 418 user_card_view_->SetSuppressCaptureIcon(false); | 417 user_card_view_->SetSuppressCaptureIcon(false); |
| 419 user_dropdown_widget_.reset(); | 418 user_dropdown_widget_.reset(); |
| 420 } | 419 } |
| 421 | 420 |
| 422 } // namespace tray | 421 } // namespace tray |
| 423 } // namespace ash | 422 } // namespace ash |
| OLD | NEW |