OLD | NEW |
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 #ifndef UI_GL_GL_SURFACE_EGL_X11_H_ | 5 #ifndef UI_GL_GL_SURFACE_EGL_X11_H_ |
6 #define UI_GL_GL_SURFACE_EGL_X11_H_ | 6 #define UI_GL_GL_SURFACE_EGL_X11_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 | 11 |
10 #include "base/macros.h" | 12 #include "base/macros.h" |
11 #include "ui/events/platform/platform_event_dispatcher.h" | 13 #include "ui/events/platform/platform_event_dispatcher.h" |
12 #include "ui/gl/gl_surface_egl.h" | 14 #include "ui/gl/gl_surface_egl.h" |
13 | 15 |
14 namespace gfx { | 16 namespace gfx { |
15 | 17 |
16 // Encapsulates an EGL surface bound to a view using the X Window System. | 18 // Encapsulates an EGL surface bound to a view using the X Window System. |
17 class GL_EXPORT NativeViewGLSurfaceEGLX11 : public NativeViewGLSurfaceEGL, | 19 class GL_EXPORT NativeViewGLSurfaceEGLX11 : public NativeViewGLSurfaceEGL, |
(...skipping 17 matching lines...) Expand all Loading... |
35 // PlatformEventDispatcher implementation. | 37 // PlatformEventDispatcher implementation. |
36 bool CanDispatchEvent(const ui::PlatformEvent& event) override; | 38 bool CanDispatchEvent(const ui::PlatformEvent& event) override; |
37 uint32_t DispatchEvent(const ui::PlatformEvent& event) override; | 39 uint32_t DispatchEvent(const ui::PlatformEvent& event) override; |
38 | 40 |
39 DISALLOW_COPY_AND_ASSIGN(NativeViewGLSurfaceEGLX11); | 41 DISALLOW_COPY_AND_ASSIGN(NativeViewGLSurfaceEGLX11); |
40 }; | 42 }; |
41 | 43 |
42 } // namespace gfx | 44 } // namespace gfx |
43 | 45 |
44 #endif // UI_GL_GL_SURFACE_EGL_X11_H_ | 46 #endif // UI_GL_GL_SURFACE_EGL_X11_H_ |
OLD | NEW |