OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "components/exo/test/exo_test_helper.h" | 5 #include "components/exo/test/exo_test_helper.h" |
6 | 6 |
7 #include "ash/common/wm_window.h" | |
8 #include "ash/public/cpp/shell_window_ids.h" | 7 #include "ash/public/cpp/shell_window_ids.h" |
9 #include "ash/wm/window_positioner.h" | 8 #include "ash/wm/window_positioner.h" |
10 #include "ash/wm/window_positioning_utils.h" | 9 #include "ash/wm/window_positioning_utils.h" |
| 10 #include "ash/wm_window.h" |
11 #include "components/exo/buffer.h" | 11 #include "components/exo/buffer.h" |
12 #include "components/exo/shell_surface.h" | 12 #include "components/exo/shell_surface.h" |
13 #include "components/exo/surface.h" | 13 #include "components/exo/surface.h" |
14 #include "gpu/command_buffer/client/gpu_memory_buffer_manager.h" | 14 #include "gpu/command_buffer/client/gpu_memory_buffer_manager.h" |
15 #include "ui/aura/env.h" | 15 #include "ui/aura/env.h" |
16 #include "ui/compositor/compositor.h" | 16 #include "ui/compositor/compositor.h" |
17 #include "ui/views/widget/widget.h" | 17 #include "ui/views/widget/widget.h" |
18 | 18 |
19 namespace exo { | 19 namespace exo { |
20 namespace test { | 20 namespace test { |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 | 72 |
73 ExoTestWindow ExoTestHelper::CreateWindow(int width, | 73 ExoTestWindow ExoTestHelper::CreateWindow(int width, |
74 int height, | 74 int height, |
75 bool is_modal) { | 75 bool is_modal) { |
76 return ExoTestWindow(CreateGpuMemoryBuffer(gfx::Size(width, height)), | 76 return ExoTestWindow(CreateGpuMemoryBuffer(gfx::Size(width, height)), |
77 is_modal); | 77 is_modal); |
78 } | 78 } |
79 | 79 |
80 } // namespace test | 80 } // namespace test |
81 } // namespace exo | 81 } // namespace exo |
OLD | NEW |