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_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/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
12 #include "build/build_config.h" | 13 #include "build/build_config.h" |
13 #include "ui/gfx/geometry/rect.h" | 14 #include "ui/gfx/geometry/rect.h" |
14 #include "ui/gfx/geometry/rect_f.h" | 15 #include "ui/gfx/geometry/rect_f.h" |
15 #include "ui/gfx/geometry/size.h" | 16 #include "ui/gfx/geometry/size.h" |
16 #include "ui/gfx/native_widget_types.h" | 17 #include "ui/gfx/native_widget_types.h" |
17 #include "ui/gfx/overlay_transform.h" | 18 #include "ui/gfx/overlay_transform.h" |
18 #include "ui/gfx/swap_result.h" | 19 #include "ui/gfx/swap_result.h" |
19 #include "ui/gl/gl_export.h" | 20 #include "ui/gl/gl_export.h" |
20 #include "ui/gl/gl_implementation.h" | 21 #include "ui/gl/gl_implementation.h" |
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 | 275 |
275 private: | 276 private: |
276 scoped_refptr<GLSurface> surface_; | 277 scoped_refptr<GLSurface> surface_; |
277 | 278 |
278 DISALLOW_COPY_AND_ASSIGN(GLSurfaceAdapter); | 279 DISALLOW_COPY_AND_ASSIGN(GLSurfaceAdapter); |
279 }; | 280 }; |
280 | 281 |
281 } // namespace gfx | 282 } // namespace gfx |
282 | 283 |
283 #endif // UI_GL_GL_SURFACE_H_ | 284 #endif // UI_GL_GL_SURFACE_H_ |
OLD | NEW |