OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_COMPOSITOR_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ | 5 #ifndef UI_GFX_COMPOSITOR_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ |
6 #define UI_GFX_COMPOSITOR_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ | 6 #define UI_GFX_COMPOSITOR_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebGraphicsContext3D.
h" | 11 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGraphicsC
ontext3D.h" |
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebString.h" | 12 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" |
13 #include "ui/gfx/gl/gl_bindings.h" | 13 #include "ui/gfx/gl/gl_bindings.h" |
14 | 14 |
15 namespace gfx { | 15 namespace gfx { |
16 class GLContext; | 16 class GLContext; |
17 class GLSurface; | 17 class GLSurface; |
18 } | 18 } |
19 | 19 |
20 namespace ui { | 20 namespace ui { |
21 | 21 |
22 // WebGraphicsContext3D that does nothing. Suitable for testing. | 22 // WebGraphicsContext3D that does nothing. Suitable for testing. |
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
429 private: | 429 private: |
430 scoped_refptr<gfx::GLContext> gl_context_; | 430 scoped_refptr<gfx::GLContext> gl_context_; |
431 scoped_refptr<gfx::GLSurface> gl_surface_; | 431 scoped_refptr<gfx::GLSurface> gl_surface_; |
432 | 432 |
433 DISALLOW_COPY_AND_ASSIGN(TestWebGraphicsContext3D); | 433 DISALLOW_COPY_AND_ASSIGN(TestWebGraphicsContext3D); |
434 }; | 434 }; |
435 | 435 |
436 } // namespace ui | 436 } // namespace ui |
437 | 437 |
438 #endif // UI_GFX_COMPOSITOR_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ | 438 #endif // UI_GFX_COMPOSITOR_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ |
OLD | NEW |