| 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 "webkit/compositor_bindings/web_compositor_support_impl.h" | 5 #include "webkit/compositor_bindings/web_compositor_support_impl.h" |
| 6 | 6 |
| 7 #if defined(USE_LIBCC_FOR_COMPOSITOR) | 7 #if defined(USE_LIBCC_FOR_COMPOSITOR) |
| 8 #include "config.h" |
| 9 #include "base/memory/scoped_ptr.h" |
| 8 #include "webkit/compositor_bindings/WebLayerImpl.h" | 10 #include "webkit/compositor_bindings/WebLayerImpl.h" |
| 9 #include "webkit/compositor_bindings/WebLayerTreeViewImpl.h" | 11 #include "webkit/compositor_bindings/WebLayerTreeViewImpl.h" |
| 10 #include "webkit/compositor_bindings/WebCompositorImpl.h" | 12 #include "webkit/compositor_bindings/WebCompositorImpl.h" |
| 11 #include "webkit/compositor_bindings/WebContentLayerImpl.h" | 13 #include "webkit/compositor_bindings/WebContentLayerImpl.h" |
| 12 #include "webkit/compositor_bindings/WebExternalTextureLayerImpl.h" | 14 #include "webkit/compositor_bindings/WebExternalTextureLayerImpl.h" |
| 13 #include "webkit/compositor_bindings/WebIOSurfaceLayerImpl.h" | 15 #include "webkit/compositor_bindings/WebIOSurfaceLayerImpl.h" |
| 14 #include "webkit/compositor_bindings/WebSolidColorLayerImpl.h" | 16 #include "webkit/compositor_bindings/WebSolidColorLayerImpl.h" |
| 15 #include "webkit/compositor_bindings/WebImageLayerImpl.h" | 17 #include "webkit/compositor_bindings/WebImageLayerImpl.h" |
| 16 #include "webkit/compositor_bindings/WebVideoLayerImpl.h" | 18 #include "webkit/compositor_bindings/WebVideoLayerImpl.h" |
| 17 #include "webkit/compositor_bindings/WebScrollbarLayerImpl.h" | 19 #include "webkit/compositor_bindings/WebScrollbarLayerImpl.h" |
| (...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 WebTransformAnimationCurve* | 228 WebTransformAnimationCurve* |
| 227 WebCompositorSupportImpl::createTransformAnimationCurve() { | 229 WebCompositorSupportImpl::createTransformAnimationCurve() { |
| 228 #if defined(USE_LIBCC_FOR_COMPOSITOR) | 230 #if defined(USE_LIBCC_FOR_COMPOSITOR) |
| 229 return new WebKit::WebTransformAnimationCurveImpl(); | 231 return new WebKit::WebTransformAnimationCurveImpl(); |
| 230 #else | 232 #else |
| 231 return WebKit::WebTransformAnimationCurve::create(); | 233 return WebKit::WebTransformAnimationCurve::create(); |
| 232 #endif | 234 #endif |
| 233 } | 235 } |
| 234 | 236 |
| 235 } // namespace webkit | 237 } // namespace webkit |
| OLD | NEW |