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

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

Issue 10392068: ui: Move gl/ directory out of gfx/, up to ui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix mac_rel Created 8 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 | Annotate | Revision Log
« no previous file with comments | « ui/gl/gl_surface_mac.cc ('k') | ui/gl/gl_surface_nsview.mm » ('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_GFX_GL_GL_SURFACE_NSVIEW_H_ 5 #ifndef UI_GL_GL_SURFACE_NSVIEW_H_
6 #define UI_GFX_GL_GL_SURFACE_NSVIEW_H_ 6 #define UI_GL_GL_SURFACE_NSVIEW_H_
7 #pragma once
7 8
8 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
9 #include "ui/gfx/gl/gl_surface.h"
10 #include "ui/gfx/size.h" 10 #include "ui/gfx/size.h"
11 #include "ui/gl/gl_surface.h"
11 12
12 namespace gfx { 13 namespace gfx {
13 14
14 class GLContextNSView; 15 class GLContextNSView;
15 16
16 // GLSurfaceNSView provides an implementation of the the GLSurface interface 17 // GLSurfaceNSView provides an implementation of the the GLSurface interface
17 // that is backed by an NSView. This interface pairs with the GLContextNSView 18 // that is backed by an NSView. This interface pairs with the GLContextNSView
18 // class, and the NSView is expected to use this context for drawing. 19 // class, and the NSView is expected to use this context for drawing.
19 class GLSurfaceNSView : public GLSurface { 20 class GLSurfaceNSView : public GLSurface {
20 public: 21 public:
(...skipping 15 matching lines...) Expand all
36 AcceleratedWidget view_; 37 AcceleratedWidget view_;
37 38
38 // Weak. Associated context. 39 // Weak. Associated context.
39 GLContextNSView* context_; 40 GLContextNSView* context_;
40 41
41 DISALLOW_COPY_AND_ASSIGN(GLSurfaceNSView); 42 DISALLOW_COPY_AND_ASSIGN(GLSurfaceNSView);
42 }; 43 };
43 44
44 } // namespace gfx 45 } // namespace gfx
45 46
46 #endif // UI_GFX_GL_GL_SURFACE_NSVIEW_H_ 47 #endif // UI_GL_GL_SURFACE_NSVIEW_H_
OLDNEW
« no previous file with comments | « ui/gl/gl_surface_mac.cc ('k') | ui/gl/gl_surface_nsview.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698