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 #include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3
D.h" | 5 #include "third_party/WebKit/Source/Platform/chromium/public/WebGraphicsContext3
D.h" |
6 #include "webkit/compositor_bindings/web_compositor_support_output_surface.h" | 6 #include "webkit/compositor_bindings/web_compositor_support_output_surface.h" |
7 | 7 |
8 namespace webkit { | 8 namespace webkit { |
9 | 9 |
10 WebCompositorSupportOutputSurface::WebCompositorSupportOutputSurface( | 10 WebCompositorSupportOutputSurface::WebCompositorSupportOutputSurface( |
(...skipping 23 matching lines...) Expand all Loading... |
34 | 34 |
35 WebKit::WebGraphicsContext3D* WebCompositorSupportOutputSurface::Context3D() con
st { | 35 WebKit::WebGraphicsContext3D* WebCompositorSupportOutputSurface::Context3D() con
st { |
36 return context3d_.get(); | 36 return context3d_.get(); |
37 } | 37 } |
38 | 38 |
39 cc::SoftwareOutputDevice* WebCompositorSupportOutputSurface::SoftwareDevice() co
nst { | 39 cc::SoftwareOutputDevice* WebCompositorSupportOutputSurface::SoftwareDevice() co
nst { |
40 return software_device_.get(); | 40 return software_device_.get(); |
41 } | 41 } |
42 | 42 |
43 void WebCompositorSupportOutputSurface::SendFrameToParentCompositor( | 43 void WebCompositorSupportOutputSurface::SendFrameToParentCompositor( |
44 const cc::CompositorFrame&) { | 44 cc::CompositorFrame*) { |
45 // No support for delegated renderers in DumpRenderTree. | 45 // No support for delegated renderers in DumpRenderTree. |
46 NOTREACHED(); | 46 NOTREACHED(); |
47 } | 47 } |
48 | 48 |
49 } // namespace webkit | 49 } // namespace webkit |
OLD | NEW |