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_DRI_DRI_WINDOW_H_ | 5 #ifndef UI_OZONE_PLATFORM_DRI_DRI_WINDOW_H_ |
6 #define UI_OZONE_PLATFORM_DRI_DRI_WINDOW_H_ | 6 #define UI_OZONE_PLATFORM_DRI_DRI_WINDOW_H_ |
7 | 7 |
8 #include "ui/events/platform/platform_event_dispatcher.h" | 8 #include "ui/events/platform/platform_event_dispatcher.h" |
9 #include "ui/gfx/geometry/rect.h" | 9 #include "ui/gfx/geometry/rect.h" |
10 #include "ui/gfx/native_widget_types.h" | 10 #include "ui/gfx/native_widget_types.h" |
11 #include "ui/platform_window/platform_window.h" | 11 #include "ui/platform_window/types/platform_window.h" |
12 | 12 |
13 namespace ui { | 13 namespace ui { |
14 | 14 |
15 class DriSurfaceFactory; | 15 class DriSurfaceFactory; |
16 | 16 |
17 class DriWindow : public PlatformWindow, | 17 class DriWindow : public PlatformWindow, |
18 public PlatformEventDispatcher { | 18 public PlatformEventDispatcher { |
19 public: | 19 public: |
20 DriWindow(PlatformWindowDelegate* delegate, | 20 DriWindow(PlatformWindowDelegate* delegate, |
21 const gfx::Rect& bounds, | 21 const gfx::Rect& bounds, |
(...skipping 21 matching lines...) Expand all Loading... |
43 PlatformWindowDelegate* delegate_; | 43 PlatformWindowDelegate* delegate_; |
44 gfx::Rect bounds_; | 44 gfx::Rect bounds_; |
45 gfx::AcceleratedWidget widget_; | 45 gfx::AcceleratedWidget widget_; |
46 | 46 |
47 DISALLOW_COPY_AND_ASSIGN(DriWindow); | 47 DISALLOW_COPY_AND_ASSIGN(DriWindow); |
48 }; | 48 }; |
49 | 49 |
50 } // namespace ui | 50 } // namespace ui |
51 | 51 |
52 #endif // UI_OZONE_PLATFORM_DRI_DRI_WINDOW_H_ | 52 #endif // UI_OZONE_PLATFORM_DRI_DRI_WINDOW_H_ |
OLD | NEW |