OLD | NEW |
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 "ash/common/shell_window_ids.h" | 5 #include "ash/public/cpp/shell_window_ids.h" |
6 #include "ash/shell.h" | 6 #include "ash/shell.h" |
7 #include "ash/test/ash_test_base.h" | 7 #include "ash/test/ash_test_base.h" |
8 #include "ash/test/test_activation_delegate.h" | 8 #include "ash/test/test_activation_delegate.h" |
9 #include "ash/wm/window_util.h" | 9 #include "ash/wm/window_util.h" |
10 #include "ui/aura/client/cursor_client_observer.h" | 10 #include "ui/aura/client/cursor_client_observer.h" |
11 #include "ui/aura/client/focus_client.h" | 11 #include "ui/aura/client/focus_client.h" |
12 #include "ui/aura/env.h" | 12 #include "ui/aura/env.h" |
13 #include "ui/aura/test/aura_test_base.h" | 13 #include "ui/aura/test/aura_test_base.h" |
14 #include "ui/aura/test/test_window_delegate.h" | 14 #include "ui/aura/test/test_window_delegate.h" |
15 #include "ui/aura/test/test_windows.h" | 15 #include "ui/aura/test/test_windows.h" |
(...skipping 823 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
839 generator.MoveMouseTo(50, 50); | 839 generator.MoveMouseTo(50, 50); |
840 EXPECT_TRUE(observer_a.did_visibility_change()); | 840 EXPECT_TRUE(observer_a.did_visibility_change()); |
841 EXPECT_FALSE(observer_b.did_visibility_change()); | 841 EXPECT_FALSE(observer_b.did_visibility_change()); |
842 EXPECT_TRUE(observer_a.is_cursor_visible()); | 842 EXPECT_TRUE(observer_a.is_cursor_visible()); |
843 | 843 |
844 cursor_manager->RemoveObserver(&observer_a); | 844 cursor_manager->RemoveObserver(&observer_a); |
845 } | 845 } |
846 #endif // defined(OS_CHROMEOS) | 846 #endif // defined(OS_CHROMEOS) |
847 | 847 |
848 } // namespace ash | 848 } // namespace ash |
OLD | NEW |