| 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 "chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.h" | 5 #include "chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.h" |
| 6 | 6 |
| 7 #include "ash/common/media_controller.h" | 7 #include "ash/media_controller.h" |
| 8 #include "ash/common/multi_profile_uma.h" | 8 #include "ash/multi_profile_uma.h" |
| 9 #include "ash/common/wm/maximize_mode/maximize_mode_controller.h" | |
| 10 #include "ash/common/wm/window_state.h" | |
| 11 #include "ash/common/wm_shell.h" | |
| 12 #include "ash/common/wm_window.h" | |
| 13 #include "ash/public/cpp/shell_window_ids.h" | 9 #include "ash/public/cpp/shell_window_ids.h" |
| 14 #include "ash/shell.h" | 10 #include "ash/shell.h" |
| 11 #include "ash/wm/maximize_mode/maximize_mode_controller.h" |
| 12 #include "ash/wm/window_state.h" |
| 15 #include "ash/wm/window_state_aura.h" | 13 #include "ash/wm/window_state_aura.h" |
| 14 #include "ash/wm_shell.h" |
| 15 #include "ash/wm_window.h" |
| 16 #include "base/auto_reset.h" | 16 #include "base/auto_reset.h" |
| 17 #include "base/macros.h" | 17 #include "base/macros.h" |
| 18 #include "base/message_loop/message_loop.h" | 18 #include "base/message_loop/message_loop.h" |
| 19 #include "base/strings/string_util.h" | 19 #include "base/strings/string_util.h" |
| 20 #include "chrome/browser/browser_process.h" | 20 #include "chrome/browser/browser_process.h" |
| 21 #include "chrome/browser/chrome_notification_types.h" | 21 #include "chrome/browser/chrome_notification_types.h" |
| 22 #include "chrome/browser/profiles/profile.h" | 22 #include "chrome/browser/profiles/profile.h" |
| 23 #include "chrome/browser/profiles/profile_manager.h" | 23 #include "chrome/browser/profiles/profile_manager.h" |
| 24 #include "chrome/browser/ui/ash/multi_user/multi_user_notification_blocker_chrom
eos.h" | 24 #include "chrome/browser/ui/ash/multi_user/multi_user_notification_blocker_chrom
eos.h" |
| 25 #include "chrome/browser/ui/ash/multi_user/multi_user_util.h" | 25 #include "chrome/browser/ui/ash/multi_user/multi_user_util.h" |
| (...skipping 680 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 706 window->Hide(); | 706 window->Hide(); |
| 707 } | 707 } |
| 708 | 708 |
| 709 int MultiUserWindowManagerChromeOS::GetAdjustedAnimationTimeInMS( | 709 int MultiUserWindowManagerChromeOS::GetAdjustedAnimationTimeInMS( |
| 710 int default_time_in_ms) const { | 710 int default_time_in_ms) const { |
| 711 return animation_speed_ == ANIMATION_SPEED_NORMAL ? default_time_in_ms : | 711 return animation_speed_ == ANIMATION_SPEED_NORMAL ? default_time_in_ms : |
| 712 (animation_speed_ == ANIMATION_SPEED_FAST ? 10 : 0); | 712 (animation_speed_ == ANIMATION_SPEED_FAST ? 10 : 0); |
| 713 } | 713 } |
| 714 | 714 |
| 715 } // namespace chrome | 715 } // namespace chrome |
| OLD | NEW |