OLD | NEW |
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 #ifndef CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ |
6 #define CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ | 6 #define CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "base/message_loop/message_loop_proxy.h" | 9 #include "base/message_loop/message_loop_proxy.h" |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
(...skipping 30 matching lines...) Expand all Loading... |
41 blink::WebScrollbar::Orientation orientation, | 41 blink::WebScrollbar::Orientation orientation, |
42 int thumb_thickness, | 42 int thumb_thickness, |
43 int track_start, | 43 int track_start, |
44 bool is_left_side_vertical_scrollbar); | 44 bool is_left_side_vertical_scrollbar); |
45 virtual blink::WebAnimation* createAnimation( | 45 virtual blink::WebAnimation* createAnimation( |
46 const blink::WebAnimationCurve& curve, | 46 const blink::WebAnimationCurve& curve, |
47 blink::WebAnimation::TargetProperty target, | 47 blink::WebAnimation::TargetProperty target, |
48 int animation_id); | 48 int animation_id); |
49 virtual blink::WebFilterAnimationCurve* createFilterAnimationCurve(); | 49 virtual blink::WebFilterAnimationCurve* createFilterAnimationCurve(); |
50 virtual blink::WebFloatAnimationCurve* createFloatAnimationCurve(); | 50 virtual blink::WebFloatAnimationCurve* createFloatAnimationCurve(); |
51 #if WEB_SCROLL_OFFSET_ANIMATION_CURVE_IS_DEFINED | |
52 virtual blink::WebScrollOffsetAnimationCurve* | 51 virtual blink::WebScrollOffsetAnimationCurve* |
53 createScrollOffsetAnimationCurve( | 52 createScrollOffsetAnimationCurve( |
54 blink::WebFloatPoint target_value, | 53 blink::WebFloatPoint target_value, |
55 blink::WebAnimationCurve::TimingFunctionType timing_function); | 54 blink::WebAnimationCurve::TimingFunctionType timing_function); |
56 #endif | |
57 virtual blink::WebTransformAnimationCurve* createTransformAnimationCurve(); | 55 virtual blink::WebTransformAnimationCurve* createTransformAnimationCurve(); |
58 virtual blink::WebTransformOperations* createTransformOperations(); | 56 virtual blink::WebTransformOperations* createTransformOperations(); |
59 virtual blink::WebFilterOperations* createFilterOperations(); | 57 virtual blink::WebFilterOperations* createFilterOperations(); |
60 | 58 |
61 private: | 59 private: |
62 DISALLOW_COPY_AND_ASSIGN(WebCompositorSupportImpl); | 60 DISALLOW_COPY_AND_ASSIGN(WebCompositorSupportImpl); |
63 }; | 61 }; |
64 | 62 |
65 } // namespace content | 63 } // namespace content |
66 | 64 |
67 #endif // CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ | 65 #endif // CONTENT_RENDERER_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ |
68 | 66 |
OLD | NEW |