OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #ifndef UI_OZONE_PLATFORM_WAYLAND_WAYLAND_TEST_H_ | 5 #ifndef UI_OZONE_PLATFORM_WAYLAND_WAYLAND_TEST_H_ |
6 #define UI_OZONE_PLATFORM_WAYLAND_WAYLAND_TEST_H_ | 6 #define UI_OZONE_PLATFORM_WAYLAND_WAYLAND_TEST_H_ |
7 | 7 |
| 8 #include "base/message_loop/message_loop.h" |
8 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
9 #include "ui/ozone/platform/wayland/fake_server.h" | 10 #include "ui/ozone/platform/wayland/fake_server.h" |
10 #include "ui/ozone/platform/wayland/mock_platform_window_delegate.h" | 11 #include "ui/ozone/platform/wayland/mock_platform_window_delegate.h" |
11 #include "ui/ozone/platform/wayland/wayland_connection.h" | 12 #include "ui/ozone/platform/wayland/wayland_connection.h" |
12 #include "ui/ozone/platform/wayland/wayland_window.h" | 13 #include "ui/ozone/platform/wayland/wayland_window.h" |
13 | 14 |
14 namespace ui { | 15 namespace ui { |
15 | 16 |
16 // WaylandTest is a base class that sets up a display, window, and fake server, | 17 // WaylandTest is a base class that sets up a display, window, and fake server, |
17 // and allows easy synchronization between them. | 18 // and allows easy synchronization between them. |
(...skipping 20 matching lines...) Expand all Loading... |
38 WaylandWindow window; | 39 WaylandWindow window; |
39 gfx::AcceleratedWidget widget = gfx::kNullAcceleratedWidget; | 40 gfx::AcceleratedWidget widget = gfx::kNullAcceleratedWidget; |
40 | 41 |
41 private: | 42 private: |
42 DISALLOW_COPY_AND_ASSIGN(WaylandTest); | 43 DISALLOW_COPY_AND_ASSIGN(WaylandTest); |
43 }; | 44 }; |
44 | 45 |
45 } // namespace ui | 46 } // namespace ui |
46 | 47 |
47 #endif // UI_OZONE_PLATFORM_WAYLAND_WAYLAND_TEST_H_ | 48 #endif // UI_OZONE_PLATFORM_WAYLAND_WAYLAND_TEST_H_ |
OLD | NEW |