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/ash_switches.h" | 7 #include "ash/common/ash_switches.h" |
8 #include "ash/common/session/session_state_delegate.h" | 8 #include "ash/common/session/session_state_delegate.h" |
9 #include "ash/common/shell_window_ids.h" | 9 #include "ash/common/shell_window_ids.h" |
10 #include "ash/common/wm/window_state.h" | 10 #include "ash/common/wm/window_state.h" |
11 #include "ash/multi_profile_uma.h" | 11 #include "ash/multi_profile_uma.h" |
12 #include "ash/root_window_controller.h" | 12 #include "ash/root_window_controller.h" |
13 #include "ash/shelf/shelf.h" | 13 #include "ash/shelf/shelf.h" |
14 #include "ash/shell.h" | 14 #include "ash/shell.h" |
15 #include "ash/shell_delegate.h" | 15 #include "ash/shell_delegate.h" |
16 #include "ash/system/tray/system_tray_notifier.h" | 16 #include "ash/system/tray/system_tray_notifier.h" |
17 #include "ash/wm/maximize_mode/maximize_mode_controller.h" | 17 #include "ash/wm/maximize_mode/maximize_mode_controller.h" |
(...skipping 735 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
753 window->Hide(); | 753 window->Hide(); |
754 } | 754 } |
755 | 755 |
756 int MultiUserWindowManagerChromeOS::GetAdjustedAnimationTimeInMS( | 756 int MultiUserWindowManagerChromeOS::GetAdjustedAnimationTimeInMS( |
757 int default_time_in_ms) const { | 757 int default_time_in_ms) const { |
758 return animation_speed_ == ANIMATION_SPEED_NORMAL ? default_time_in_ms : | 758 return animation_speed_ == ANIMATION_SPEED_NORMAL ? default_time_in_ms : |
759 (animation_speed_ == ANIMATION_SPEED_FAST ? 10 : 0); | 759 (animation_speed_ == ANIMATION_SPEED_FAST ? 10 : 0); |
760 } | 760 } |
761 | 761 |
762 } // namespace chrome | 762 } // namespace chrome |
OLD | NEW |