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 17 matching lines...) Expand all Loading... |
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/test/event_generator.h" | 33 #include "ui/aura/test/event_generator.h" |
34 #include "ui/aura/test/test_windows.h" | 34 #include "ui/aura/test/test_windows.h" |
35 #include "ui/aura/window.h" | 35 #include "ui/aura/window.h" |
36 #include "ui/aura/window_event_dispatcher.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" | |
39 #include "ui/views/widget/widget.h" | 38 #include "ui/views/widget/widget.h" |
40 | 39 |
41 namespace ash { | 40 namespace ash { |
42 namespace internal { | 41 namespace internal { |
43 | 42 |
44 using aura::test::WindowIsAbove; | 43 using aura::test::WindowIsAbove; |
45 | 44 |
46 class PanelLayoutManagerTest : public test::AshTestBase { | 45 class PanelLayoutManagerTest : public test::AshTestBase { |
47 public: | 46 public: |
48 PanelLayoutManagerTest() {} | 47 PanelLayoutManagerTest() {} |
(...skipping 735 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
784 EXPECT_TRUE(w1->IsVisible()); | 783 EXPECT_TRUE(w1->IsVisible()); |
785 EXPECT_FALSE(w2->IsVisible()); | 784 EXPECT_FALSE(w2->IsVisible()); |
786 EXPECT_TRUE(w3->IsVisible()); | 785 EXPECT_TRUE(w3->IsVisible()); |
787 } | 786 } |
788 | 787 |
789 INSTANTIATE_TEST_CASE_P(LtrRtl, PanelLayoutManagerTextDirectionTest, | 788 INSTANTIATE_TEST_CASE_P(LtrRtl, PanelLayoutManagerTextDirectionTest, |
790 testing::Bool()); | 789 testing::Bool()); |
791 | 790 |
792 } // namespace internal | 791 } // namespace internal |
793 } // namespace ash | 792 } // namespace ash |
OLD | NEW |