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 "chrome/browser/ui/ash/multi_user/user_switch_animator_chromeos.h" | 5 #include "chrome/browser/ui/ash/multi_user/user_switch_animator_chromeos.h" |
6 | 6 |
7 #include "ash/desktop_background/user_wallpaper_delegate.h" | 7 #include "ash/desktop_background/user_wallpaper_delegate.h" |
8 #include "ash/root_window_controller.h" | 8 #include "ash/root_window_controller.h" |
9 #include "ash/shelf/shelf_layout_manager.h" | 9 #include "ash/shelf/shelf_layout_manager.h" |
10 #include "ash/shell.h" | 10 #include "ash/shell.h" |
11 #include "ash/wm/mru_window_tracker.h" | 11 #include "ash/wm/mru_window_tracker.h" |
12 #include "ash/wm/window_positioner.h" | 12 #include "ash/wm/window_positioner.h" |
13 #include "ash/wm/window_state.h" | 13 #include "ash/wm/window_state.h" |
14 #include "chrome/browser/chromeos/login/wallpaper_manager.h" | 14 #include "chrome/browser/chromeos/login/users/wallpaper/wallpaper_manager.h" |
15 #include "chrome/browser/ui/ash/launcher/chrome_launcher_controller.h" | 15 #include "chrome/browser/ui/ash/launcher/chrome_launcher_controller.h" |
16 #include "chrome/browser/ui/ash/multi_user/multi_user_notification_blocker_chrom
eos.h" | 16 #include "chrome/browser/ui/ash/multi_user/multi_user_notification_blocker_chrom
eos.h" |
17 #include "chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.h" | 17 #include "chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.h" |
18 #include "ui/wm/public/activation_client.h" | 18 #include "ui/wm/public/activation_client.h" |
19 | 19 |
20 namespace chrome { | 20 namespace chrome { |
21 | 21 |
22 namespace { | 22 namespace { |
23 | 23 |
24 // The minimal possible animation time for animations which should happen | 24 // The minimal possible animation time for animations which should happen |
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 if (cover == OLD_USER_COVERS_SCREEN) | 317 if (cover == OLD_USER_COVERS_SCREEN) |
318 return BOTH_USERS_COVER_SCREEN; | 318 return BOTH_USERS_COVER_SCREEN; |
319 else | 319 else |
320 cover = NEW_USER_COVERS_SCREEN; | 320 cover = NEW_USER_COVERS_SCREEN; |
321 } | 321 } |
322 } | 322 } |
323 return cover; | 323 return cover; |
324 } | 324 } |
325 | 325 |
326 } // namespace chrome | 326 } // namespace chrome |
OLD | NEW |