Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(190)

Side by Side Diff: chrome/browser/ui/ash/multi_user/multi_user_window_manager_chromeos.cc

Issue 194843004: Move files from ui/views/corewm to ui/wm/core (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 26 matching lines...) Expand all
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/window.h" 42 #include "ui/aura/window.h"
43 #include "ui/aura/window_event_dispatcher.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/wm/core/transient_window_manager.h"
48 #include "ui/views/corewm/window_animations.h" 48 #include "ui/wm/core/window_animations.h"
49 #include "ui/views/corewm/window_util.h" 49 #include "ui/wm/core/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
54 // in / out. 54 // in / out.
55 static int kAnimationTimeMS = 100; 55 static int kAnimationTimeMS = 100;
56 56
57 // The animation time in millseconds for the fade in and / or out when switching 57 // The animation time in millseconds for the fade in and / or out when switching
58 // users. 58 // users.
59 static int kUserFadeTimeMS = 110; 59 static int kUserFadeTimeMS = 110;
(...skipping 802 matching lines...) Expand 10 before | Expand all | Expand 10 after
862 window->Show(); 862 window->Show();
863 else 863 else
864 window->Hide(); 864 window->Hide();
865 865
866 // Make sure that animations have no influence on the window state after the 866 // Make sure that animations have no influence on the window state after the
867 // call. 867 // call.
868 DCHECK_EQ(visible, window->IsVisible()); 868 DCHECK_EQ(visible, window->IsVisible());
869 } 869 }
870 870
871 } // namespace chrome 871 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698