OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_WGL_H_ | 5 #ifndef UI_GL_GL_SURFACE_WGL_H_ |
6 #define UI_GL_GL_SURFACE_WGL_H_ | 6 #define UI_GL_GL_SURFACE_WGL_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "ui/gfx/native_widget_types.h" | 9 #include "ui/gfx/native_widget_types.h" |
9 #include "ui/gl/gl_surface.h" | 10 #include "ui/gl/gl_surface.h" |
10 | 11 |
11 namespace gfx { | 12 namespace gfx { |
12 | 13 |
13 // Base interface for WGL surfaces. | 14 // Base interface for WGL surfaces. |
14 class GL_EXPORT GLSurfaceWGL : public GLSurface { | 15 class GL_EXPORT GLSurfaceWGL : public GLSurface { |
15 public: | 16 public: |
16 GLSurfaceWGL(); | 17 GLSurfaceWGL(); |
17 | 18 |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 gfx::Size size_; | 73 gfx::Size size_; |
73 HDC device_context_; | 74 HDC device_context_; |
74 void* pbuffer_; | 75 void* pbuffer_; |
75 | 76 |
76 DISALLOW_COPY_AND_ASSIGN(PbufferGLSurfaceWGL); | 77 DISALLOW_COPY_AND_ASSIGN(PbufferGLSurfaceWGL); |
77 }; | 78 }; |
78 | 79 |
79 } // namespace gfx | 80 } // namespace gfx |
80 | 81 |
81 #endif // UI_GL_GL_SURFACE_WGL_H_ | 82 #endif // UI_GL_GL_SURFACE_WGL_H_ |
OLD | NEW |