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

Side by Side Diff: ui/gl/gl_surface_wgl.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_stub.h ('k') | ui/gl/gl_tests.gyp » ('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) 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 "base/macros.h"
9 #include "ui/gfx/native_widget_types.h" 9 #include "ui/gfx/native_widget_types.h"
10 #include "ui/gl/gl_export.h"
10 #include "ui/gl/gl_surface.h" 11 #include "ui/gl/gl_surface.h"
11 12
12 namespace gfx { 13 namespace gfx {
13 14
14 // Base interface for WGL surfaces. 15 // Base interface for WGL surfaces.
15 class GL_EXPORT GLSurfaceWGL : public GLSurface { 16 class GL_EXPORT GLSurfaceWGL : public GLSurface {
16 public: 17 public:
17 GLSurfaceWGL(); 18 GLSurfaceWGL();
18 19
19 // Implement GLSurface. 20 // Implement GLSurface.
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 gfx::Size size_; 74 gfx::Size size_;
74 HDC device_context_; 75 HDC device_context_;
75 void* pbuffer_; 76 void* pbuffer_;
76 77
77 DISALLOW_COPY_AND_ASSIGN(PbufferGLSurfaceWGL); 78 DISALLOW_COPY_AND_ASSIGN(PbufferGLSurfaceWGL);
78 }; 79 };
79 80
80 } // namespace gfx 81 } // namespace gfx
81 82
82 #endif // UI_GL_GL_SURFACE_WGL_H_ 83 #endif // UI_GL_GL_SURFACE_WGL_H_
OLDNEW
« no previous file with comments | « ui/gl/gl_surface_stub.h ('k') | ui/gl/gl_tests.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698