| 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 FakeWebCompositorOutputSurface_h | 5 #ifndef CC_TEST_FAKE_WEB_COMPOSITOR_OUTPUT_SURFACE_H_ |
| 6 #define FakeWebCompositorOutputSurface_h | 6 #define CC_TEST_FAKE_WEB_COMPOSITOR_OUTPUT_SURFACE_H_ |
| 7 | 7 |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "cc/test/fake_web_compositor_software_output_device.h" | 10 #include "cc/test/fake_web_compositor_software_output_device.h" |
| 11 #include <public/WebCompositorOutputSurface.h> | 11 #include <public/WebCompositorOutputSurface.h> |
| 12 #include <public/WebGraphicsContext3D.h> | 12 #include <public/WebGraphicsContext3D.h> |
| 13 | 13 |
| 14 namespace WebKit { | 14 namespace WebKit { |
| 15 | 15 |
| 16 class FakeWebCompositorOutputSurface : public WebCompositorOutputSurface { | 16 class FakeWebCompositorOutputSurface : public WebCompositorOutputSurface { |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 } | 66 } |
| 67 | 67 |
| 68 scoped_ptr<WebGraphicsContext3D> m_context3D; | 68 scoped_ptr<WebGraphicsContext3D> m_context3D; |
| 69 scoped_ptr<WebCompositorSoftwareOutputDevice> m_softwareDevice; | 69 scoped_ptr<WebCompositorSoftwareOutputDevice> m_softwareDevice; |
| 70 Capabilities m_capabilities; | 70 Capabilities m_capabilities; |
| 71 WebCompositorOutputSurfaceClient* m_client; | 71 WebCompositorOutputSurfaceClient* m_client; |
| 72 }; | 72 }; |
| 73 | 73 |
| 74 } // namespace WebKit | 74 } // namespace WebKit |
| 75 | 75 |
| 76 #endif // FakeWebCompositorOutputSurface_h | 76 #endif // CC_TEST_FAKE_WEB_COMPOSITOR_OUTPUT_SURFACE_H_ |
| OLD | NEW |