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_CONTEXT_WGL_H_ | 5 #ifndef UI_GL_GL_CONTEXT_WGL_H_ |
6 #define UI_GL_GL_CONTEXT_WGL_H_ | 6 #define UI_GL_GL_CONTEXT_WGL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "ui/gfx/native_widget_types.h" | 11 #include "ui/gfx/native_widget_types.h" |
11 #include "ui/gl/gl_context.h" | 12 #include "ui/gl/gl_context.h" |
12 | 13 |
13 namespace gfx { | 14 namespace gfx { |
14 | 15 |
15 class GLSurface; | 16 class GLSurface; |
16 | 17 |
17 // This class is a wrapper around a GL context. | 18 // This class is a wrapper around a GL context. |
18 class GLContextWGL : public GLContextReal { | 19 class GLContextWGL : public GLContextReal { |
19 public: | 20 public: |
(...skipping 14 matching lines...) Expand all Loading... |
34 void Destroy(); | 35 void Destroy(); |
35 | 36 |
36 HGLRC context_; | 37 HGLRC context_; |
37 | 38 |
38 DISALLOW_COPY_AND_ASSIGN(GLContextWGL); | 39 DISALLOW_COPY_AND_ASSIGN(GLContextWGL); |
39 }; | 40 }; |
40 | 41 |
41 } // namespace gfx | 42 } // namespace gfx |
42 | 43 |
43 #endif // UI_GL_GL_CONTEXT_WGL_H_ | 44 #endif // UI_GL_GL_CONTEXT_WGL_H_ |
OLD | NEW |