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_COMPOSITOR_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ | 5 #ifndef UI_COMPOSITOR_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ |
6 #define UI_COMPOSITOR_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ | 6 #define UI_COMPOSITOR_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ |
7 | 7 |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGraphicsC
ontext3D.h" | 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3
D.h" |
11 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" | 11 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h" |
12 #include "ui/compositor/compositor_export.h" | 12 #include "ui/compositor/compositor_export.h" |
13 | 13 |
14 namespace gfx { | 14 namespace gfx { |
15 class GLContext; | 15 class GLContext; |
16 class GLSurface; | 16 class GLSurface; |
17 } | 17 } |
18 | 18 |
19 namespace ui { | 19 namespace ui { |
20 | 20 |
21 // WebGraphicsContext3D that does nothing. Suitable for testing. | 21 // WebGraphicsContext3D that does nothing. Suitable for testing. |
(...skipping 427 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
449 scoped_refptr<gfx::GLContext> gl_context_; | 449 scoped_refptr<gfx::GLContext> gl_context_; |
450 scoped_refptr<gfx::GLSurface> gl_surface_; | 450 scoped_refptr<gfx::GLSurface> gl_surface_; |
451 unsigned next_texture_id_; | 451 unsigned next_texture_id_; |
452 | 452 |
453 DISALLOW_COPY_AND_ASSIGN(TestWebGraphicsContext3D); | 453 DISALLOW_COPY_AND_ASSIGN(TestWebGraphicsContext3D); |
454 }; | 454 }; |
455 | 455 |
456 } // namespace ui | 456 } // namespace ui |
457 | 457 |
458 #endif // UI_COMPOSITOR_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ | 458 #endif // UI_COMPOSITOR_TEST_WEB_GRAPHICS_CONTEXT_3D_H_ |
OLD | NEW |