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/wm/panels/panel_layout_manager.h" | 5 #include "ash/wm/panels/panel_layout_manager.h" |
6 | 6 |
7 #include "ash/ash_switches.h" | 7 #include "ash/ash_switches.h" |
8 #include "ash/root_window_controller.h" | 8 #include "ash/root_window_controller.h" |
9 #include "ash/screen_util.h" | 9 #include "ash/screen_util.h" |
10 #include "ash/shelf/shelf.h" | 10 #include "ash/shelf/shelf.h" |
(...skipping 12 matching lines...) Expand all Loading... |
23 #include "ash/test/shell_test_api.h" | 23 #include "ash/test/shell_test_api.h" |
24 #include "ash/test/test_shelf_delegate.h" | 24 #include "ash/test/test_shelf_delegate.h" |
25 #include "ash/wm/mru_window_tracker.h" | 25 #include "ash/wm/mru_window_tracker.h" |
26 #include "ash/wm/window_util.h" | 26 #include "ash/wm/window_util.h" |
27 #include "base/basictypes.h" | 27 #include "base/basictypes.h" |
28 #include "base/command_line.h" | 28 #include "base/command_line.h" |
29 #include "base/compiler_specific.h" | 29 #include "base/compiler_specific.h" |
30 #include "base/i18n/rtl.h" | 30 #include "base/i18n/rtl.h" |
31 #include "base/run_loop.h" | 31 #include "base/run_loop.h" |
32 #include "ui/aura/client/aura_constants.h" | 32 #include "ui/aura/client/aura_constants.h" |
33 #include "ui/aura/root_window.h" | |
34 #include "ui/aura/test/event_generator.h" | 33 #include "ui/aura/test/event_generator.h" |
35 #include "ui/aura/test/test_windows.h" | 34 #include "ui/aura/test/test_windows.h" |
36 #include "ui/aura/window.h" | 35 #include "ui/aura/window.h" |
| 36 #include "ui/aura/window_event_dispatcher.h" |
37 #include "ui/base/l10n/l10n_util.h" | 37 #include "ui/base/l10n/l10n_util.h" |
38 #include "ui/views/corewm/corewm_switches.h" | 38 #include "ui/views/corewm/corewm_switches.h" |
39 #include "ui/views/widget/widget.h" | 39 #include "ui/views/widget/widget.h" |
40 | 40 |
41 namespace ash { | 41 namespace ash { |
42 namespace internal { | 42 namespace internal { |
43 | 43 |
44 using aura::test::WindowIsAbove; | 44 using aura::test::WindowIsAbove; |
45 | 45 |
46 class PanelLayoutManagerTest : public test::AshTestBase { | 46 class PanelLayoutManagerTest : public test::AshTestBase { |
(...skipping 737 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
784 EXPECT_TRUE(w1->IsVisible()); | 784 EXPECT_TRUE(w1->IsVisible()); |
785 EXPECT_FALSE(w2->IsVisible()); | 785 EXPECT_FALSE(w2->IsVisible()); |
786 EXPECT_TRUE(w3->IsVisible()); | 786 EXPECT_TRUE(w3->IsVisible()); |
787 } | 787 } |
788 | 788 |
789 INSTANTIATE_TEST_CASE_P(LtrRtl, PanelLayoutManagerTextDirectionTest, | 789 INSTANTIATE_TEST_CASE_P(LtrRtl, PanelLayoutManagerTextDirectionTest, |
790 testing::Bool()); | 790 testing::Bool()); |
791 | 791 |
792 } // namespace internal | 792 } // namespace internal |
793 } // namespace ash | 793 } // namespace ash |
OLD | NEW |