OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 VIEWS_WIDGET_NATIVE_WIDGET_WAYLAND_H_ | 5 #ifndef VIEWS_WIDGET_NATIVE_WIDGET_WAYLAND_H_ |
6 #define VIEWS_WIDGET_NATIVE_WIDGET_WAYLAND_H_ | 6 #define VIEWS_WIDGET_NATIVE_WIDGET_WAYLAND_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <wayland-client.h> | 9 #include <wayland-client.h> |
10 | 10 |
(...skipping 16 matching lines...) Expand all Loading... |
27 } | 27 } |
28 } | 28 } |
29 | 29 |
30 namespace gfx { | 30 namespace gfx { |
31 class Rect; | 31 class Rect; |
32 } | 32 } |
33 | 33 |
34 namespace ui { | 34 namespace ui { |
35 class ViewProp; | 35 class ViewProp; |
36 class WaylandDisplay; | 36 class WaylandDisplay; |
37 class WaylandInputDevice; | |
38 class WaylandWindow; | 37 class WaylandWindow; |
39 } | 38 } |
40 | 39 |
41 namespace views { | 40 namespace views { |
42 | 41 |
43 namespace internal { | 42 namespace internal { |
44 class NativeWidgetDelegate; | 43 class NativeWidgetDelegate; |
45 } | 44 } |
46 | 45 |
47 // Widget implementation for Wayland | 46 // Widget implementation for Wayland |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 // and the compositor will have these, so we don't need to worry about them. | 206 // and the compositor will have these, so we don't need to worry about them. |
208 scoped_refptr<gfx::GLSurface> surface_; | 207 scoped_refptr<gfx::GLSurface> surface_; |
209 scoped_refptr<gfx::GLContext> context_; | 208 scoped_refptr<gfx::GLContext> context_; |
210 | 209 |
211 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWayland); | 210 DISALLOW_COPY_AND_ASSIGN(NativeWidgetWayland); |
212 }; | 211 }; |
213 | 212 |
214 } // namespace views | 213 } // namespace views |
215 | 214 |
216 #endif // VIEWS_WIDGET_NATIVE_WIDGET_WAYLAND_H_ | 215 #endif // VIEWS_WIDGET_NATIVE_WIDGET_WAYLAND_H_ |
OLD | NEW |