OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_TEST_TEST_WINDOW_H_ | 5 #ifndef UI_OZONE_PLATFORM_TEST_TEST_WINDOW_H_ |
6 #define UI_OZONE_PLATFORM_TEST_TEST_WINDOW_H_ | 6 #define UI_OZONE_PLATFORM_TEST_TEST_WINDOW_H_ |
7 | 7 |
8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
9 #include "ui/events/platform/platform_event_dispatcher.h" | 9 #include "ui/events/platform/platform_event_dispatcher.h" |
10 #include "ui/gfx/geometry/rect.h" | 10 #include "ui/gfx/geometry/rect.h" |
11 #include "ui/gfx/native_widget_types.h" | 11 #include "ui/gfx/native_widget_types.h" |
12 #include "ui/platform_window/platform_window.h" | 12 #include "ui/platform_window/types/platform_window.h" |
13 | 13 |
14 namespace ui { | 14 namespace ui { |
15 | 15 |
16 class PlatformWindowDelegate; | 16 class PlatformWindowDelegate; |
17 class TestWindowManager; | 17 class TestWindowManager; |
18 | 18 |
19 class TestWindow : public PlatformWindow, public PlatformEventDispatcher { | 19 class TestWindow : public PlatformWindow, public PlatformEventDispatcher { |
20 public: | 20 public: |
21 TestWindow(PlatformWindowDelegate* delegate, | 21 TestWindow(PlatformWindowDelegate* delegate, |
22 TestWindowManager* manager, | 22 TestWindowManager* manager, |
(...skipping 25 matching lines...) Expand all Loading... |
48 TestWindowManager* manager_; | 48 TestWindowManager* manager_; |
49 gfx::Rect bounds_; | 49 gfx::Rect bounds_; |
50 gfx::AcceleratedWidget widget_; | 50 gfx::AcceleratedWidget widget_; |
51 | 51 |
52 DISALLOW_COPY_AND_ASSIGN(TestWindow); | 52 DISALLOW_COPY_AND_ASSIGN(TestWindow); |
53 }; | 53 }; |
54 | 54 |
55 } // namespace ui | 55 } // namespace ui |
56 | 56 |
57 #endif // UI_OZONE_PLATFORM_TEST_TEST_WINDOW_H_ | 57 #endif // UI_OZONE_PLATFORM_TEST_TEST_WINDOW_H_ |
OLD | NEW |