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/wm/panels/panel_layout_manager.h" | 5 #include "ash/wm/panels/panel_layout_manager.h" |
6 | 6 |
7 #include "ash/common/shelf/shelf_button.h" | |
8 #include "ash/common/shelf/shelf_layout_manager.h" | |
9 #include "ash/common/shelf/shelf_model.h" | |
10 #include "ash/common/shelf/shelf_view.h" | |
11 #include "ash/common/shelf/shelf_widget.h" | |
12 #include "ash/common/shelf/wm_shelf.h" | |
13 #include "ash/common/test/test_shelf_delegate.h" | |
14 #include "ash/common/wm/mru_window_tracker.h" | |
15 #include "ash/common/wm/window_state.h" | |
16 #include "ash/common/wm_shell.h" | |
17 #include "ash/common/wm_window.h" | |
18 #include "ash/public/cpp/shelf_types.h" | 7 #include "ash/public/cpp/shelf_types.h" |
19 #include "ash/public/cpp/shell_window_ids.h" | 8 #include "ash/public/cpp/shell_window_ids.h" |
20 #include "ash/root_window_controller.h" | 9 #include "ash/root_window_controller.h" |
| 10 #include "ash/shelf/shelf_button.h" |
| 11 #include "ash/shelf/shelf_layout_manager.h" |
| 12 #include "ash/shelf/shelf_model.h" |
| 13 #include "ash/shelf/shelf_view.h" |
| 14 #include "ash/shelf/shelf_widget.h" |
| 15 #include "ash/shelf/wm_shelf.h" |
21 #include "ash/shell.h" | 16 #include "ash/shell.h" |
22 #include "ash/system/web_notification/web_notification_tray.h" | 17 #include "ash/system/web_notification/web_notification_tray.h" |
23 #include "ash/test/ash_test_base.h" | 18 #include "ash/test/ash_test_base.h" |
24 #include "ash/test/shelf_view_test_api.h" | 19 #include "ash/test/shelf_view_test_api.h" |
| 20 #include "ash/test/test_shelf_delegate.h" |
| 21 #include "ash/wm/mru_window_tracker.h" |
25 #include "ash/wm/window_properties.h" | 22 #include "ash/wm/window_properties.h" |
| 23 #include "ash/wm/window_state.h" |
26 #include "ash/wm/window_state_aura.h" | 24 #include "ash/wm/window_state_aura.h" |
27 #include "ash/wm/window_util.h" | 25 #include "ash/wm/window_util.h" |
| 26 #include "ash/wm_shell.h" |
| 27 #include "ash/wm_window.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 "base/strings/string_number_conversions.h" | 32 #include "base/strings/string_number_conversions.h" |
33 #include "ui/aura/client/aura_constants.h" | 33 #include "ui/aura/client/aura_constants.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/display/manager/display_manager.h" | 37 #include "ui/display/manager/display_manager.h" |
(...skipping 849 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
887 touch.set_location(gfx::Point(bounds.x() - 1, bounds.y() + 5)); | 887 touch.set_location(gfx::Point(bounds.x() - 1, bounds.y() + 5)); |
888 target = targeter->FindTargetForEvent(root, &touch); | 888 target = targeter->FindTargetForEvent(root, &touch); |
889 EXPECT_NE(w.get(), target); | 889 EXPECT_NE(w.get(), target); |
890 } | 890 } |
891 | 891 |
892 INSTANTIATE_TEST_CASE_P(LtrRtl, | 892 INSTANTIATE_TEST_CASE_P(LtrRtl, |
893 PanelLayoutManagerTextDirectionTest, | 893 PanelLayoutManagerTextDirectionTest, |
894 testing::Bool()); | 894 testing::Bool()); |
895 | 895 |
896 } // namespace ash | 896 } // namespace ash |
OLD | NEW |