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

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

Issue 2484863005: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Fix another conflict Created 4 years, 1 month 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_osmesa_api_implementation.h ('k') | ui/gl/gl_wgl_api_implementation.h » ('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_H_ 5 #ifndef UI_GL_GL_SURFACE_H_
6 #define UI_GL_GL_SURFACE_H_ 6 #define UI_GL_GL_SURFACE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "build/build_config.h" 13 #include "build/build_config.h"
14 #include "ui/gfx/geometry/rect.h" 14 #include "ui/gfx/geometry/rect.h"
15 #include "ui/gfx/geometry/rect_f.h" 15 #include "ui/gfx/geometry/rect_f.h"
16 #include "ui/gfx/geometry/size.h" 16 #include "ui/gfx/geometry/size.h"
17 #include "ui/gfx/native_widget_types.h" 17 #include "ui/gfx/native_widget_types.h"
18 #include "ui/gfx/overlay_transform.h" 18 #include "ui/gfx/overlay_transform.h"
19 #include "ui/gfx/swap_result.h" 19 #include "ui/gfx/swap_result.h"
20 #include "ui/gl/gl_export.h" 20 #include "ui/gl/gl_export.h"
21 #include "ui/gl/gl_image.h" 21 #include "ui/gl/gl_image.h"
22 #include "ui/gl/gl_implementation.h" 22 #include "ui/gl/gl_implementation.h"
23 23
24 namespace gfx { 24 namespace gfx {
25 class Transform;
26 class VSyncProvider; 25 class VSyncProvider;
27 } 26 }
28 27
29 namespace ui { 28 namespace ui {
30 struct CARendererLayerParams; 29 struct CARendererLayerParams;
31 } 30 }
32 31
33 namespace gl { 32 namespace gl {
34 33
35 class GLContext; 34 class GLContext;
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 295
297 // Wraps GLSurface in scoped_refptr and tries to initializes it. Returns a 296 // Wraps GLSurface in scoped_refptr and tries to initializes it. Returns a
298 // scoped_refptr containing the initialized GLSurface or nullptr if 297 // scoped_refptr containing the initialized GLSurface or nullptr if
299 // initialization fails. 298 // initialization fails.
300 GL_EXPORT scoped_refptr<GLSurface> InitializeGLSurface( 299 GL_EXPORT scoped_refptr<GLSurface> InitializeGLSurface(
301 scoped_refptr<GLSurface> surface); 300 scoped_refptr<GLSurface> surface);
302 301
303 } // namespace gl 302 } // namespace gl
304 303
305 #endif // UI_GL_GL_SURFACE_H_ 304 #endif // UI_GL_GL_SURFACE_H_
OLDNEW
« no previous file with comments | « ui/gl/gl_osmesa_api_implementation.h ('k') | ui/gl/gl_wgl_api_implementation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698