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 "apps/app_window.h" | 7 #include "apps/app_window.h" |
8 #include "apps/app_window_registry.h" | 8 #include "apps/app_window_registry.h" |
9 #include "ash/ash_switches.h" | 9 #include "ash/ash_switches.h" |
10 #include "ash/desktop_background/user_wallpaper_delegate.h" | 10 #include "ash/desktop_background/user_wallpaper_delegate.h" |
(...skipping 21 matching lines...) Expand all Loading... |
32 #include "chrome/browser/ui/ash/multi_user/multi_user_notification_blocker_chrom
eos.h" | 32 #include "chrome/browser/ui/ash/multi_user/multi_user_notification_blocker_chrom
eos.h" |
33 #include "chrome/browser/ui/ash/multi_user/multi_user_util.h" | 33 #include "chrome/browser/ui/ash/multi_user/multi_user_util.h" |
34 #include "chrome/browser/ui/browser.h" | 34 #include "chrome/browser/ui/browser.h" |
35 #include "chrome/browser/ui/browser_finder.h" | 35 #include "chrome/browser/ui/browser_finder.h" |
36 #include "chrome/browser/ui/browser_list.h" | 36 #include "chrome/browser/ui/browser_list.h" |
37 #include "chrome/browser/ui/browser_window.h" | 37 #include "chrome/browser/ui/browser_window.h" |
38 #include "content/public/browser/notification_service.h" | 38 #include "content/public/browser/notification_service.h" |
39 #include "google_apis/gaia/gaia_auth_util.h" | 39 #include "google_apis/gaia/gaia_auth_util.h" |
40 #include "ui/aura/client/activation_client.h" | 40 #include "ui/aura/client/activation_client.h" |
41 #include "ui/aura/client/aura_constants.h" | 41 #include "ui/aura/client/aura_constants.h" |
42 #include "ui/aura/root_window.h" | |
43 #include "ui/aura/window.h" | 42 #include "ui/aura/window.h" |
| 43 #include "ui/aura/window_event_dispatcher.h" |
44 #include "ui/base/ui_base_types.h" | 44 #include "ui/base/ui_base_types.h" |
45 #include "ui/events/event.h" | 45 #include "ui/events/event.h" |
46 #include "ui/message_center/message_center.h" | 46 #include "ui/message_center/message_center.h" |
47 #include "ui/views/corewm/transient_window_manager.h" | 47 #include "ui/views/corewm/transient_window_manager.h" |
48 #include "ui/views/corewm/window_animations.h" | 48 #include "ui/views/corewm/window_animations.h" |
49 #include "ui/views/corewm/window_util.h" | 49 #include "ui/views/corewm/window_util.h" |
50 | 50 |
51 namespace { | 51 namespace { |
52 | 52 |
53 // The animation time in milliseconds for a single window which is fading | 53 // The animation time in milliseconds for a single window which is fading |
(...skipping 810 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
864 window->Show(); | 864 window->Show(); |
865 else | 865 else |
866 window->Hide(); | 866 window->Hide(); |
867 | 867 |
868 // Make sure that animations have no influence on the window state after the | 868 // Make sure that animations have no influence on the window state after the |
869 // call. | 869 // call. |
870 DCHECK_EQ(visible, window->IsVisible()); | 870 DCHECK_EQ(visible, window->IsVisible()); |
871 } | 871 } |
872 | 872 |
873 } // namespace chrome | 873 } // namespace chrome |
OLD | NEW |