Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(42)

Unified Diff: webkit/compositor_bindings/web_compositor_support_impl.cc

Issue 14651027: Move webkit/compositor_bindings into webkit/renderer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webkit/compositor_bindings/web_compositor_support_impl.cc
diff --git a/webkit/compositor_bindings/web_compositor_support_impl.cc b/webkit/compositor_bindings/web_compositor_support_impl.cc
deleted file mode 100644
index dfa2b1b8e9a055595aa01e7c257cee498b37baa8..0000000000000000000000000000000000000000
--- a/webkit/compositor_bindings/web_compositor_support_impl.cc
+++ /dev/null
@@ -1,104 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "webkit/compositor_bindings/web_compositor_support_impl.h"
-
-#include "base/memory/scoped_ptr.h"
-#include "base/message_loop_proxy.h"
-#include "cc/animation/transform_operations.h"
-#include "cc/base/thread_impl.h"
-#include "cc/output/output_surface.h"
-#include "cc/output/software_output_device.h"
-#include "webkit/compositor_bindings/web_animation_impl.h"
-#include "webkit/compositor_bindings/web_content_layer_impl.h"
-#include "webkit/compositor_bindings/web_external_texture_layer_impl.h"
-#include "webkit/compositor_bindings/web_float_animation_curve_impl.h"
-#include "webkit/compositor_bindings/web_image_layer_impl.h"
-#include "webkit/compositor_bindings/web_layer_impl.h"
-#include "webkit/compositor_bindings/web_scrollbar_layer_impl.h"
-#include "webkit/compositor_bindings/web_solid_color_layer_impl.h"
-#include "webkit/compositor_bindings/web_transform_animation_curve_impl.h"
-#include "webkit/compositor_bindings/web_transform_operations_impl.h"
-#include "webkit/glue/webthread_impl.h"
-#include "webkit/support/webkit_support.h"
-
-using WebKit::WebAnimation;
-using WebKit::WebAnimationCurve;
-using WebKit::WebContentLayer;
-using WebKit::WebContentLayerClient;
-using WebKit::WebExternalTextureLayer;
-using WebKit::WebExternalTextureLayerClient;
-using WebKit::WebFloatAnimationCurve;
-using WebKit::WebImageLayer;
-using WebKit::WebLayer;
-using WebKit::WebScrollbar;
-using WebKit::WebScrollbarLayer;
-using WebKit::WebScrollbarThemeGeometry;
-using WebKit::WebScrollbarThemePainter;
-using WebKit::WebSolidColorLayer;
-using WebKit::WebTransformAnimationCurve;
-using WebKit::WebTransformOperations;
-
-namespace webkit {
-
-WebCompositorSupportImpl::WebCompositorSupportImpl() {}
-
-WebCompositorSupportImpl::~WebCompositorSupportImpl() {}
-
-WebLayer* WebCompositorSupportImpl::createLayer() {
- return new WebLayerImpl();
-}
-
-WebContentLayer* WebCompositorSupportImpl::createContentLayer(
- WebContentLayerClient* client) {
- return new WebContentLayerImpl(client);
-}
-
-WebExternalTextureLayer* WebCompositorSupportImpl::createExternalTextureLayer(
- WebExternalTextureLayerClient* client) {
- return new WebExternalTextureLayerImpl(client, false);
-}
-
-WebExternalTextureLayer*
-WebCompositorSupportImpl::createExternalTextureLayerForMailbox(
- WebExternalTextureLayerClient* client) {
- return new WebExternalTextureLayerImpl(client, true);
-}
-
-WebKit::WebImageLayer* WebCompositorSupportImpl::createImageLayer() {
- return new WebImageLayerImpl();
-}
-
-WebSolidColorLayer* WebCompositorSupportImpl::createSolidColorLayer() {
- return new WebSolidColorLayerImpl();
-}
-
-WebScrollbarLayer* WebCompositorSupportImpl::createScrollbarLayer(
- WebScrollbar* scrollbar,
- WebScrollbarThemePainter painter,
- WebScrollbarThemeGeometry* geometry) {
- return new WebScrollbarLayerImpl(scrollbar, painter, geometry);
-}
-
-WebAnimation* WebCompositorSupportImpl::createAnimation(
- const WebKit::WebAnimationCurve& curve,
- WebKit::WebAnimation::TargetProperty target,
- int animation_id) {
- return new WebAnimationImpl(curve, target, animation_id, 0);
-}
-
-WebFloatAnimationCurve* WebCompositorSupportImpl::createFloatAnimationCurve() {
- return new WebFloatAnimationCurveImpl();
-}
-
-WebTransformAnimationCurve*
-WebCompositorSupportImpl::createTransformAnimationCurve() {
- return new WebTransformAnimationCurveImpl();
-}
-
-WebTransformOperations* WebCompositorSupportImpl::createTransformOperations() {
- return new WebTransformOperationsImpl();
-}
-
-} // namespace webkit
« no previous file with comments | « webkit/compositor_bindings/web_compositor_support_impl.h ('k') | webkit/compositor_bindings/web_content_layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698