OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 CC_TEST_PIXEL_TEST_GRAPHICS_CONTEXT_H_ | 5 #ifndef CC_TEST_PIXEL_TEST_GRAPHICS_CONTEXT_H_ |
6 #define CC_TEST_PIXEL_TEST_GRAPHICS_CONTEXT_H_ | 6 #define CC_TEST_PIXEL_TEST_GRAPHICS_CONTEXT_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "cc/output_surface.h" | 9 #include "cc/output_surface.h" |
10 | 10 |
(...skipping 16 matching lines...) Expand all Loading... |
27 virtual void SendFrameToParentCompositor(const CompositorFrame&) OVERRIDE {} | 27 virtual void SendFrameToParentCompositor(const CompositorFrame&) OVERRIDE {} |
28 | 28 |
29 private: | 29 private: |
30 PixelTestOutputSurface(); | 30 PixelTestOutputSurface(); |
31 | 31 |
32 scoped_ptr<WebKit::WebGraphicsContext3D> context_; | 32 scoped_ptr<WebKit::WebGraphicsContext3D> context_; |
33 }; | 33 }; |
34 | 34 |
35 } // namespace cc | 35 } // namespace cc |
36 | 36 |
37 | |
38 #endif // CC_TEST_PIXEL_TEST_GRAPHICS_CONTEXT_H_ | 37 #endif // CC_TEST_PIXEL_TEST_GRAPHICS_CONTEXT_H_ |
OLD | NEW |