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

Side by Side Diff: ui/views/corewm/visibility_controller_unittest.cc

Issue 174803002: Move root_window.* to window_event_dispatcher.* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 10 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "ui/views/corewm/visibility_controller.h" 5 #include "ui/views/corewm/visibility_controller.h"
6 6
7 #include "ui/aura/root_window.h"
8 #include "ui/aura/test/aura_test_base.h" 7 #include "ui/aura/test/aura_test_base.h"
9 #include "ui/aura/test/test_window_delegate.h" 8 #include "ui/aura/test/test_window_delegate.h"
10 #include "ui/aura/test/test_windows.h" 9 #include "ui/aura/test/test_windows.h"
11 #include "ui/aura/window.h" 10 #include "ui/aura/window.h"
11 #include "ui/aura/window_event_dispatcher.h"
12 #include "ui/compositor/layer.h" 12 #include "ui/compositor/layer.h"
13 #include "ui/compositor/layer_animator.h" 13 #include "ui/compositor/layer_animator.h"
14 #include "ui/compositor/scoped_animation_duration_scale_mode.h" 14 #include "ui/compositor/scoped_animation_duration_scale_mode.h"
15 15
16 namespace views { 16 namespace views {
17 namespace corewm { 17 namespace corewm {
18 18
19 typedef aura::test::AuraTestBase VisibilityControllerTest; 19 typedef aura::test::AuraTestBase VisibilityControllerTest;
20 20
21 // Hiding a window in an animatable container should not hide the window's layer 21 // Hiding a window in an animatable container should not hide the window's layer
(...skipping 28 matching lines...) Expand all
50 EXPECT_TRUE(non_animatable->layer()->visible()); 50 EXPECT_TRUE(non_animatable->layer()->visible());
51 non_animatable->Hide(); 51 non_animatable->Hide();
52 EXPECT_FALSE(non_animatable->IsVisible()); 52 EXPECT_FALSE(non_animatable->IsVisible());
53 EXPECT_FALSE(non_animatable->layer()->visible()); 53 EXPECT_FALSE(non_animatable->layer()->visible());
54 54
55 aura::client::SetVisibilityClient(root_window(), NULL); 55 aura::client::SetVisibilityClient(root_window(), NULL);
56 } 56 }
57 57
58 } // namespace corewm 58 } // namespace corewm
59 } // namespace views 59 } // namespace views
OLDNEW
« no previous file with comments | « ui/views/corewm/tooltip_controller_unittest.cc ('k') | ui/views/corewm/window_modality_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698