OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ | 5 #ifndef WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ |
6 #define WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ | 6 #define WEBKIT_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 "third_party/WebKit/public/platform/WebAnimationCurve.h" | |
11 #include "third_party/WebKit/public/platform/WebCompositorSupport.h" | 10 #include "third_party/WebKit/public/platform/WebCompositorSupport.h" |
12 #include "third_party/WebKit/public/platform/WebLayer.h" | 11 #include "third_party/WebKit/public/platform/WebLayer.h" |
13 #include "third_party/WebKit/public/platform/WebTransformOperations.h" | 12 #include "third_party/WebKit/public/platform/WebTransformOperations.h" |
14 | 13 |
15 namespace blink { | 14 namespace blink { |
16 class WebGraphicsContext3D; | 15 class WebGraphicsContext3D; |
17 } | 16 } |
18 | 17 |
19 namespace webkit { | 18 namespace webkit { |
20 | 19 |
(...skipping 16 matching lines...) Expand all Loading... |
37 blink::WebScrollbarThemeGeometry*); | 36 blink::WebScrollbarThemeGeometry*); |
38 virtual blink::WebScrollbarLayer* createSolidColorScrollbarLayer( | 37 virtual blink::WebScrollbarLayer* createSolidColorScrollbarLayer( |
39 blink::WebScrollbar::Orientation orientation, int thumb_thickness, | 38 blink::WebScrollbar::Orientation orientation, int thumb_thickness, |
40 bool is_left_side_vertical_scrollbar); | 39 bool is_left_side_vertical_scrollbar); |
41 virtual blink::WebAnimation* createAnimation( | 40 virtual blink::WebAnimation* createAnimation( |
42 const blink::WebAnimationCurve& curve, | 41 const blink::WebAnimationCurve& curve, |
43 blink::WebAnimation::TargetProperty target, | 42 blink::WebAnimation::TargetProperty target, |
44 int animation_id); | 43 int animation_id); |
45 virtual blink::WebFilterAnimationCurve* createFilterAnimationCurve(); | 44 virtual blink::WebFilterAnimationCurve* createFilterAnimationCurve(); |
46 virtual blink::WebFloatAnimationCurve* createFloatAnimationCurve(); | 45 virtual blink::WebFloatAnimationCurve* createFloatAnimationCurve(); |
47 #if WEB_SCROLL_OFFSET_ANIMATION_CURVE_IS_DEFINED | |
48 virtual blink::WebScrollOffsetAnimationCurve* | |
49 createScrollOffsetAnimationCurve( | |
50 blink::WebFloatPoint target_value, | |
51 blink::WebAnimationCurve::TimingFunctionType timing_function); | |
52 #endif | |
53 virtual blink::WebTransformAnimationCurve* createTransformAnimationCurve(); | 46 virtual blink::WebTransformAnimationCurve* createTransformAnimationCurve(); |
54 virtual blink::WebTransformOperations* createTransformOperations(); | 47 virtual blink::WebTransformOperations* createTransformOperations(); |
55 virtual blink::WebFilterOperations* createFilterOperations(); | 48 virtual blink::WebFilterOperations* createFilterOperations(); |
56 | 49 |
57 private: | 50 private: |
58 DISALLOW_COPY_AND_ASSIGN(WebCompositorSupportImpl); | 51 DISALLOW_COPY_AND_ASSIGN(WebCompositorSupportImpl); |
59 }; | 52 }; |
60 | 53 |
61 } // namespace webkit | 54 } // namespace webkit |
62 | 55 |
63 #endif // WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ | 56 #endif // WEBKIT_RENDERER_COMPOSITOR_BINDINGS_WEB_COMPOSITOR_SUPPORT_IMPL_H_ |
OLD | NEW |