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

Unified Diff: cc/blink/web_compositor_support_impl.cc

Issue 1616653002: CC Animation: Move files from cc_blink to Source/platform/animation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Fix copyrights and years. Created 4 years, 10 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
« no previous file with comments | « cc/blink/web_compositor_support_impl.h ('k') | cc/blink/web_display_item_list_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/blink/web_compositor_support_impl.cc
diff --git a/cc/blink/web_compositor_support_impl.cc b/cc/blink/web_compositor_support_impl.cc
index f50594e0f9d61bb0a32e90672cf0696b96dda5eb..a4966e77878f424bfec72792b595432a96cfe19a 100644
--- a/cc/blink/web_compositor_support_impl.cc
+++ b/cc/blink/web_compositor_support_impl.cc
@@ -5,47 +5,27 @@
#include "cc/blink/web_compositor_support_impl.h"
#include "base/memory/scoped_ptr.h"
-#include "cc/animation/transform_operations.h"
-#include "cc/blink/web_animation_impl.h"
-#include "cc/blink/web_compositor_animation_player_impl.h"
-#include "cc/blink/web_compositor_animation_timeline_impl.h"
#include "cc/blink/web_content_layer_impl.h"
#include "cc/blink/web_display_item_list_impl.h"
#include "cc/blink/web_external_texture_layer_impl.h"
-#include "cc/blink/web_filter_animation_curve_impl.h"
-#include "cc/blink/web_filter_operations_impl.h"
-#include "cc/blink/web_float_animation_curve_impl.h"
#include "cc/blink/web_image_layer_impl.h"
#include "cc/blink/web_layer_impl.h"
-#include "cc/blink/web_scroll_offset_animation_curve_impl.h"
#include "cc/blink/web_scrollbar_layer_impl.h"
-#include "cc/blink/web_transform_animation_curve_impl.h"
-#include "cc/blink/web_transform_operations_impl.h"
#include "cc/layers/layer.h"
#include "cc/output/output_surface.h"
#include "cc/output/software_output_device.h"
-using blink::WebCompositorAnimation;
-using blink::WebCompositorAnimationCurve;
-using blink::WebCompositorAnimationPlayer;
-using blink::WebCompositorAnimationTimeline;
using blink::WebContentLayer;
using blink::WebContentLayerClient;
using blink::WebDisplayItemList;
using blink::WebExternalTextureLayer;
using blink::WebExternalTextureLayerClient;
-using blink::WebFilterAnimationCurve;
-using blink::WebFilterOperations;
-using blink::WebFloatAnimationCurve;
using blink::WebImageLayer;
using blink::WebLayer;
using blink::WebScrollbar;
using blink::WebScrollbarLayer;
using blink::WebScrollbarThemeGeometry;
using blink::WebScrollbarThemePainter;
-using blink::WebScrollOffsetAnimationCurve;
-using blink::WebTransformAnimationCurve;
-using blink::WebTransformOperations;
namespace cc_blink {
@@ -95,53 +75,4 @@ WebScrollbarLayer* WebCompositorSupportImpl::createSolidColorScrollbarLayer(
is_left_side_vertical_scrollbar);
}
-WebCompositorAnimation* WebCompositorSupportImpl::createAnimation(
- const blink::WebCompositorAnimationCurve& curve,
- blink::WebCompositorAnimation::TargetProperty target,
- int group_id,
- int animation_id) {
- return new WebCompositorAnimationImpl(curve, target, animation_id, group_id);
-}
-
-WebFilterAnimationCurve*
-WebCompositorSupportImpl::createFilterAnimationCurve() {
- return new WebFilterAnimationCurveImpl();
-}
-
-WebFloatAnimationCurve* WebCompositorSupportImpl::createFloatAnimationCurve() {
- return new WebFloatAnimationCurveImpl();
-}
-
-WebScrollOffsetAnimationCurve*
-WebCompositorSupportImpl::createScrollOffsetAnimationCurve(
- blink::WebFloatPoint target_value,
- WebCompositorAnimationCurve::TimingFunctionType timing_function,
- WebScrollOffsetAnimationCurve::ScrollDurationBehavior duration_behavior) {
- return new WebScrollOffsetAnimationCurveImpl(target_value, timing_function,
- duration_behavior);
-}
-
-WebTransformAnimationCurve*
-WebCompositorSupportImpl::createTransformAnimationCurve() {
- return new WebTransformAnimationCurveImpl();
-}
-
-WebTransformOperations* WebCompositorSupportImpl::createTransformOperations() {
- return new WebTransformOperationsImpl();
-}
-
-WebFilterOperations* WebCompositorSupportImpl::createFilterOperations() {
- return new WebFilterOperationsImpl();
-}
-
-WebCompositorAnimationPlayer*
-WebCompositorSupportImpl::createAnimationPlayer() {
- return new WebCompositorAnimationPlayerImpl();
-}
-
-WebCompositorAnimationTimeline*
-WebCompositorSupportImpl::createAnimationTimeline() {
- return new WebCompositorAnimationTimelineImpl();
-}
-
} // namespace cc_blink
« no previous file with comments | « cc/blink/web_compositor_support_impl.h ('k') | cc/blink/web_display_item_list_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698