Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(133)

Side by Side Diff: ui/gl/gl_surface_egl_x11.h

Issue 1920163005: Split //ui/gl into //ui/gl + //ui/gi/init. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/gl/gl_surface_egl.h ('k') | ui/gl/gl_surface_mac.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
11 11
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "ui/events/platform/platform_event_dispatcher.h" 13 #include "ui/events/platform/platform_event_dispatcher.h"
14 #include "ui/gl/gl_export.h"
14 #include "ui/gl/gl_surface_egl.h" 15 #include "ui/gl/gl_surface_egl.h"
15 16
16 namespace gfx { 17 namespace gfx {
17 18
18 // Encapsulates an EGL surface bound to a view using the X Window System. 19 // Encapsulates an EGL surface bound to a view using the X Window System.
19 class GL_EXPORT NativeViewGLSurfaceEGLX11 : public NativeViewGLSurfaceEGL, 20 class GL_EXPORT NativeViewGLSurfaceEGLX11 : public NativeViewGLSurfaceEGL,
20 public ui::PlatformEventDispatcher { 21 public ui::PlatformEventDispatcher {
21 public: 22 public:
22 explicit NativeViewGLSurfaceEGLX11(EGLNativeWindowType window); 23 explicit NativeViewGLSurfaceEGLX11(EGLNativeWindowType window);
23 24
(...skipping 13 matching lines...) Expand all
37 // PlatformEventDispatcher implementation. 38 // PlatformEventDispatcher implementation.
38 bool CanDispatchEvent(const ui::PlatformEvent& event) override; 39 bool CanDispatchEvent(const ui::PlatformEvent& event) override;
39 uint32_t DispatchEvent(const ui::PlatformEvent& event) override; 40 uint32_t DispatchEvent(const ui::PlatformEvent& event) override;
40 41
41 DISALLOW_COPY_AND_ASSIGN(NativeViewGLSurfaceEGLX11); 42 DISALLOW_COPY_AND_ASSIGN(NativeViewGLSurfaceEGLX11);
42 }; 43 };
43 44
44 } // namespace gfx 45 } // namespace gfx
45 46
46 #endif // UI_GL_GL_SURFACE_EGL_X11_H_ 47 #endif // UI_GL_GL_SURFACE_EGL_X11_H_
OLDNEW
« no previous file with comments | « ui/gl/gl_surface_egl.h ('k') | ui/gl/gl_surface_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698