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

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

Issue 1094553002: Revert "Speculative revert by sheriff" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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/blink/web_content_layer_impl.h » ('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 "base/message_loop/message_loop_proxy.h" 8 #include "base/message_loop/message_loop_proxy.h"
9 #include "cc/animation/transform_operations.h" 9 #include "cc/animation/transform_operations.h"
10 #include "cc/blink/web_animation_impl.h" 10 #include "cc/blink/web_animation_impl.h"
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 WebScrollbar::Orientation orientation, 86 WebScrollbar::Orientation orientation,
87 int thumb_thickness, 87 int thumb_thickness,
88 int track_start, 88 int track_start,
89 bool is_left_side_vertical_scrollbar) { 89 bool is_left_side_vertical_scrollbar) {
90 return new WebScrollbarLayerImpl(orientation, 90 return new WebScrollbarLayerImpl(orientation,
91 thumb_thickness, 91 thumb_thickness,
92 track_start, 92 track_start,
93 is_left_side_vertical_scrollbar); 93 is_left_side_vertical_scrollbar);
94 } 94 }
95 95
96 WebDisplayItemList* WebCompositorSupportImpl::createDisplayItemList() {
97 return new WebDisplayItemListImpl();
98 }
99
100 WebCompositorAnimation* WebCompositorSupportImpl::createAnimation( 96 WebCompositorAnimation* WebCompositorSupportImpl::createAnimation(
101 const blink::WebCompositorAnimationCurve& curve, 97 const blink::WebCompositorAnimationCurve& curve,
102 blink::WebCompositorAnimation::TargetProperty target, 98 blink::WebCompositorAnimation::TargetProperty target,
103 #ifdef WEB_COMPOSITOR_SUPPORT_CREATE_ANIMATION_SUPPORTS_GROUP 99 #ifdef WEB_COMPOSITOR_SUPPORT_CREATE_ANIMATION_SUPPORTS_GROUP
104 int group_id, 100 int group_id,
105 #endif 101 #endif
106 int animation_id) { 102 int animation_id) {
107 #ifdef WEB_COMPOSITOR_SUPPORT_CREATE_ANIMATION_SUPPORTS_GROUP 103 #ifdef WEB_COMPOSITOR_SUPPORT_CREATE_ANIMATION_SUPPORTS_GROUP
108 return new WebCompositorAnimationImpl(curve, target, animation_id, group_id); 104 return new WebCompositorAnimationImpl(curve, target, animation_id, group_id);
109 #else 105 #else
(...skipping 24 matching lines...) Expand all
134 130
135 WebTransformOperations* WebCompositorSupportImpl::createTransformOperations() { 131 WebTransformOperations* WebCompositorSupportImpl::createTransformOperations() {
136 return new WebTransformOperationsImpl(); 132 return new WebTransformOperationsImpl();
137 } 133 }
138 134
139 WebFilterOperations* WebCompositorSupportImpl::createFilterOperations() { 135 WebFilterOperations* WebCompositorSupportImpl::createFilterOperations() {
140 return new WebFilterOperationsImpl(); 136 return new WebFilterOperationsImpl();
141 } 137 }
142 138
143 } // namespace cc_blink 139 } // namespace cc_blink
OLDNEW
« no previous file with comments | « cc/blink/web_compositor_support_impl.h ('k') | cc/blink/web_content_layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698