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

Unified Diff: sky/viewer/cc/web_compositor_support_impl.cc

Issue 752683002: Break Sky's dependency on cc (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « sky/viewer/cc/web_compositor_support_impl.h ('k') | sky/viewer/cc/web_content_layer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/viewer/cc/web_compositor_support_impl.cc
diff --git a/sky/viewer/cc/web_compositor_support_impl.cc b/sky/viewer/cc/web_compositor_support_impl.cc
deleted file mode 100644
index 9a733dc78f13900cdd62f76c813c06049832f093..0000000000000000000000000000000000000000
--- a/sky/viewer/cc/web_compositor_support_impl.cc
+++ /dev/null
@@ -1,92 +0,0 @@
-// Copyright 2014 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 "sky/viewer/cc/web_compositor_support_impl.h"
-
-#include "base/memory/scoped_ptr.h"
-#include "base/message_loop/message_loop_proxy.h"
-#include "cc/animation/transform_operations.h"
-#include "sky/viewer/cc/web_animation_impl.h"
-#include "sky/viewer/cc/web_content_layer_impl.h"
-#include "sky/viewer/cc/web_external_texture_layer_impl.h"
-#include "sky/viewer/cc/web_filter_animation_curve_impl.h"
-#include "sky/viewer/cc/web_filter_operations_impl.h"
-#include "sky/viewer/cc/web_float_animation_curve_impl.h"
-#include "sky/viewer/cc/web_image_layer_impl.h"
-#include "sky/viewer/cc/web_layer_impl.h"
-#include "sky/viewer/cc/web_transform_animation_curve_impl.h"
-#include "sky/viewer/cc/web_transform_operations_impl.h"
-#include "cc/output/output_surface.h"
-#include "cc/output/software_output_device.h"
-
-using blink::WebCompositorAnimation;
-using blink::WebCompositorAnimationCurve;
-using blink::WebContentLayer;
-using blink::WebContentLayerClient;
-using blink::WebExternalTextureLayer;
-using blink::WebExternalTextureLayerClient;
-using blink::WebFilterAnimationCurve;
-using blink::WebFilterOperations;
-using blink::WebFloatAnimationCurve;
-using blink::WebImageLayer;
-using blink::WebLayer;
-using blink::WebTransformAnimationCurve;
-using blink::WebTransformOperations;
-
-namespace sky_viewer_cc {
-
-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);
-}
-
-blink::WebImageLayer* WebCompositorSupportImpl::createImageLayer() {
- return new WebImageLayerImpl();
-}
-
-WebCompositorAnimation* WebCompositorSupportImpl::createAnimation(
- const blink::WebCompositorAnimationCurve& curve,
- blink::WebCompositorAnimation::TargetProperty target,
- int animation_id) {
- return new WebCompositorAnimationImpl(curve, target, animation_id, 0);
-}
-
-WebFilterAnimationCurve*
-WebCompositorSupportImpl::createFilterAnimationCurve() {
- return new WebFilterAnimationCurveImpl();
-}
-
-WebFloatAnimationCurve* WebCompositorSupportImpl::createFloatAnimationCurve() {
- return new WebFloatAnimationCurveImpl();
-}
-
-WebTransformAnimationCurve*
-WebCompositorSupportImpl::createTransformAnimationCurve() {
- return new WebTransformAnimationCurveImpl();
-}
-
-WebTransformOperations* WebCompositorSupportImpl::createTransformOperations() {
- return new WebTransformOperationsImpl();
-}
-
-WebFilterOperations* WebCompositorSupportImpl::createFilterOperations() {
- return new WebFilterOperationsImpl();
-}
-
-} // namespace sky_viewer_cc
« no previous file with comments | « sky/viewer/cc/web_compositor_support_impl.h ('k') | sky/viewer/cc/web_content_layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698