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

Side by Side Diff: cc/blink/web_compositor_support_impl.cc

Issue 947033002: CC Animations: Establish AnimationHost, AnimationTimeline and AnimationPlayer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix MSVC warning. Created 5 years, 5 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 unified diff | Download patch
« no previous file with comments | « cc/blink/web_compositor_support_impl.h ('k') | cc/cc.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "cc/blink/web_compositor_support_impl.h" 5 #include "cc/blink/web_compositor_support_impl.h"
6 6
7 #include "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
8 #include "cc/animation/transform_operations.h" 8 #include "cc/animation/transform_operations.h"
9 #include "cc/blink/web_animation_impl.h" 9 #include "cc/blink/web_animation_impl.h"
10 #include "cc/blink/web_compositor_animation_player_impl.h"
11 #include "cc/blink/web_compositor_animation_timeline_impl.h"
10 #include "cc/blink/web_content_layer_impl.h" 12 #include "cc/blink/web_content_layer_impl.h"
11 #include "cc/blink/web_display_item_list_impl.h" 13 #include "cc/blink/web_display_item_list_impl.h"
12 #include "cc/blink/web_external_texture_layer_impl.h" 14 #include "cc/blink/web_external_texture_layer_impl.h"
13 #include "cc/blink/web_filter_animation_curve_impl.h" 15 #include "cc/blink/web_filter_animation_curve_impl.h"
14 #include "cc/blink/web_filter_operations_impl.h" 16 #include "cc/blink/web_filter_operations_impl.h"
15 #include "cc/blink/web_float_animation_curve_impl.h" 17 #include "cc/blink/web_float_animation_curve_impl.h"
16 #include "cc/blink/web_image_layer_impl.h" 18 #include "cc/blink/web_image_layer_impl.h"
17 #include "cc/blink/web_layer_impl.h" 19 #include "cc/blink/web_layer_impl.h"
18 #include "cc/blink/web_nine_patch_layer_impl.h" 20 #include "cc/blink/web_nine_patch_layer_impl.h"
19 #include "cc/blink/web_scroll_offset_animation_curve_impl.h" 21 #include "cc/blink/web_scroll_offset_animation_curve_impl.h"
20 #include "cc/blink/web_scrollbar_layer_impl.h" 22 #include "cc/blink/web_scrollbar_layer_impl.h"
21 #include "cc/blink/web_transform_animation_curve_impl.h" 23 #include "cc/blink/web_transform_animation_curve_impl.h"
22 #include "cc/blink/web_transform_operations_impl.h" 24 #include "cc/blink/web_transform_operations_impl.h"
23 #include "cc/output/output_surface.h" 25 #include "cc/output/output_surface.h"
24 #include "cc/output/software_output_device.h" 26 #include "cc/output/software_output_device.h"
25 27
26 using blink::WebCompositorAnimation; 28 using blink::WebCompositorAnimation;
27 using blink::WebCompositorAnimationCurve; 29 using blink::WebCompositorAnimationCurve;
30 using blink::WebCompositorAnimationPlayer;
31 using blink::WebCompositorAnimationTimeline;
28 using blink::WebContentLayer; 32 using blink::WebContentLayer;
29 using blink::WebContentLayerClient; 33 using blink::WebContentLayerClient;
30 using blink::WebDisplayItemList; 34 using blink::WebDisplayItemList;
31 using blink::WebExternalTextureLayer; 35 using blink::WebExternalTextureLayer;
32 using blink::WebExternalTextureLayerClient; 36 using blink::WebExternalTextureLayerClient;
33 using blink::WebFilterAnimationCurve; 37 using blink::WebFilterAnimationCurve;
34 using blink::WebFilterOperations; 38 using blink::WebFilterOperations;
35 using blink::WebFloatAnimationCurve; 39 using blink::WebFloatAnimationCurve;
36 using blink::WebImageLayer; 40 using blink::WebImageLayer;
37 using blink::WebNinePatchLayer; 41 using blink::WebNinePatchLayer;
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 } 130 }
127 131
128 WebFilterOperations* WebCompositorSupportImpl::createFilterOperations() { 132 WebFilterOperations* WebCompositorSupportImpl::createFilterOperations() {
129 return new WebFilterOperationsImpl(); 133 return new WebFilterOperationsImpl();
130 } 134 }
131 135
132 WebDisplayItemList* WebCompositorSupportImpl::createDisplayItemList() { 136 WebDisplayItemList* WebCompositorSupportImpl::createDisplayItemList() {
133 return new WebDisplayItemListImpl(); 137 return new WebDisplayItemListImpl();
134 } 138 }
135 139
140 WebCompositorAnimationPlayer*
141 WebCompositorSupportImpl::createAnimationPlayer() {
142 return new WebCompositorAnimationPlayerImpl();
143 }
144
145 WebCompositorAnimationTimeline*
146 WebCompositorSupportImpl::createAnimationTimeline() {
147 return new WebCompositorAnimationTimelineImpl();
148 }
149
136 } // namespace cc_blink 150 } // namespace cc_blink
OLDNEW
« no previous file with comments | « cc/blink/web_compositor_support_impl.h ('k') | cc/cc.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698