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 CC_BLINK_WEB_COMPOSITOR_SUPPORT_IMPL_H_ | 5 #ifndef CC_BLINK_WEB_COMPOSITOR_SUPPORT_IMPL_H_ |
6 #define CC_BLINK_WEB_COMPOSITOR_SUPPORT_IMPL_H_ | 6 #define CC_BLINK_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 "cc/blink/cc_blink_export.h" | 10 #include "cc/blink/cc_blink_export.h" |
11 #include "third_party/WebKit/public/platform/WebCompositorAnimationCurve.h" | 11 #include "third_party/WebKit/public/platform/WebCompositorAnimationCurve.h" |
12 #include "third_party/WebKit/public/platform/WebCompositorSupport.h" | 12 #include "third_party/WebKit/public/platform/WebCompositorSupport.h" |
| 13 #include "third_party/WebKit/public/platform/WebContentLayerClient.h" |
13 #include "third_party/WebKit/public/platform/WebLayer.h" | 14 #include "third_party/WebKit/public/platform/WebLayer.h" |
14 #include "third_party/WebKit/public/platform/WebTransformOperations.h" | 15 #include "third_party/WebKit/public/platform/WebTransformOperations.h" |
15 | 16 |
16 namespace blink { | 17 namespace blink { |
17 class WebGraphicsContext3D; | 18 class WebGraphicsContext3D; |
18 } | 19 } |
19 | 20 |
20 namespace cc_blink { | 21 namespace cc_blink { |
21 | 22 |
22 class CC_BLINK_EXPORT WebCompositorSupportImpl | 23 class CC_BLINK_EXPORT WebCompositorSupportImpl |
(...skipping 11 matching lines...) Expand all Loading... |
34 virtual blink::WebNinePatchLayer* createNinePatchLayer(); | 35 virtual blink::WebNinePatchLayer* createNinePatchLayer(); |
35 virtual blink::WebScrollbarLayer* createScrollbarLayer( | 36 virtual blink::WebScrollbarLayer* createScrollbarLayer( |
36 blink::WebScrollbar* scrollbar, | 37 blink::WebScrollbar* scrollbar, |
37 blink::WebScrollbarThemePainter painter, | 38 blink::WebScrollbarThemePainter painter, |
38 blink::WebScrollbarThemeGeometry*); | 39 blink::WebScrollbarThemeGeometry*); |
39 virtual blink::WebScrollbarLayer* createSolidColorScrollbarLayer( | 40 virtual blink::WebScrollbarLayer* createSolidColorScrollbarLayer( |
40 blink::WebScrollbar::Orientation orientation, | 41 blink::WebScrollbar::Orientation orientation, |
41 int thumb_thickness, | 42 int thumb_thickness, |
42 int track_start, | 43 int track_start, |
43 bool is_left_side_vertical_scrollbar); | 44 bool is_left_side_vertical_scrollbar); |
| 45 #if WEB_DISPLAY_ITEM_LIST_IS_DEFINED |
| 46 virtual blink::WebDisplayItemList* createDisplayItemList(); |
| 47 #endif |
44 virtual blink::WebCompositorAnimation* createAnimation( | 48 virtual blink::WebCompositorAnimation* createAnimation( |
45 const blink::WebCompositorAnimationCurve& curve, | 49 const blink::WebCompositorAnimationCurve& curve, |
46 blink::WebCompositorAnimation::TargetProperty target, | 50 blink::WebCompositorAnimation::TargetProperty target, |
47 #ifdef WEB_COMPOSITOR_SUPPORT_CREATE_ANIMATION_SUPPORTS_GROUP | 51 #ifdef WEB_COMPOSITOR_SUPPORT_CREATE_ANIMATION_SUPPORTS_GROUP |
48 int group_id, | 52 int group_id, |
49 #endif | 53 #endif |
50 int animation_id); | 54 int animation_id); |
51 virtual blink::WebFilterAnimationCurve* createFilterAnimationCurve(); | 55 virtual blink::WebFilterAnimationCurve* createFilterAnimationCurve(); |
52 virtual blink::WebFloatAnimationCurve* createFloatAnimationCurve(); | 56 virtual blink::WebFloatAnimationCurve* createFloatAnimationCurve(); |
53 virtual blink::WebScrollOffsetAnimationCurve* | 57 virtual blink::WebScrollOffsetAnimationCurve* |
54 createScrollOffsetAnimationCurve( | 58 createScrollOffsetAnimationCurve( |
55 blink::WebFloatPoint target_value, | 59 blink::WebFloatPoint target_value, |
56 blink::WebCompositorAnimationCurve::TimingFunctionType | 60 blink::WebCompositorAnimationCurve::TimingFunctionType |
57 timing_function); | 61 timing_function); |
58 virtual blink::WebTransformAnimationCurve* createTransformAnimationCurve(); | 62 virtual blink::WebTransformAnimationCurve* createTransformAnimationCurve(); |
59 virtual blink::WebTransformOperations* createTransformOperations(); | 63 virtual blink::WebTransformOperations* createTransformOperations(); |
60 virtual blink::WebFilterOperations* createFilterOperations(); | 64 virtual blink::WebFilterOperations* createFilterOperations(); |
61 | 65 |
62 private: | 66 private: |
63 DISALLOW_COPY_AND_ASSIGN(WebCompositorSupportImpl); | 67 DISALLOW_COPY_AND_ASSIGN(WebCompositorSupportImpl); |
64 }; | 68 }; |
65 | 69 |
66 } // namespace cc_blink | 70 } // namespace cc_blink |
67 | 71 |
68 #endif // CC_BLINK_WEB_COMPOSITOR_SUPPORT_IMPL_H_ | 72 #endif // CC_BLINK_WEB_COMPOSITOR_SUPPORT_IMPL_H_ |
OLD | NEW |