| 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/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.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" | |
| 12 #include "third_party/WebKit/public/platform/WebCompositorSupport.h" | 11 #include "third_party/WebKit/public/platform/WebCompositorSupport.h" |
| 13 #include "third_party/WebKit/public/platform/WebContentLayerClient.h" | 12 #include "third_party/WebKit/public/platform/WebContentLayerClient.h" |
| 14 #include "third_party/WebKit/public/platform/WebLayer.h" | 13 #include "third_party/WebKit/public/platform/WebLayer.h" |
| 15 #include "third_party/WebKit/public/platform/WebTransformOperations.h" | |
| 16 | 14 |
| 17 namespace blink { | 15 namespace blink { |
| 16 class WebCompositorAnimationCurve; |
| 18 class WebGraphicsContext3D; | 17 class WebGraphicsContext3D; |
| 19 } | 18 } |
| 20 | 19 |
| 21 namespace cc_blink { | 20 namespace cc_blink { |
| 22 | 21 |
| 23 class CC_BLINK_EXPORT WebCompositorSupportImpl | 22 class CC_BLINK_EXPORT WebCompositorSupportImpl |
| 24 : public NON_EXPORTED_BASE(blink::WebCompositorSupport) { | 23 : public NON_EXPORTED_BASE(blink::WebCompositorSupport) { |
| 25 public: | 24 public: |
| 26 WebCompositorSupportImpl(); | 25 WebCompositorSupportImpl(); |
| 27 ~WebCompositorSupportImpl() override; | 26 ~WebCompositorSupportImpl() override; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 40 blink::WebScrollbarLayer* createSolidColorScrollbarLayer( | 39 blink::WebScrollbarLayer* createSolidColorScrollbarLayer( |
| 41 blink::WebScrollbar::Orientation orientation, | 40 blink::WebScrollbar::Orientation orientation, |
| 42 int thumb_thickness, | 41 int thumb_thickness, |
| 43 int track_start, | 42 int track_start, |
| 44 bool is_left_side_vertical_scrollbar) override; | 43 bool is_left_side_vertical_scrollbar) override; |
| 45 blink::WebCompositorAnimation* createAnimation( | 44 blink::WebCompositorAnimation* createAnimation( |
| 46 const blink::WebCompositorAnimationCurve& curve, | 45 const blink::WebCompositorAnimationCurve& curve, |
| 47 blink::WebCompositorAnimation::TargetProperty target, | 46 blink::WebCompositorAnimation::TargetProperty target, |
| 48 int group_id, | 47 int group_id, |
| 49 int animation_id) override; | 48 int animation_id) override; |
| 50 blink::WebFilterAnimationCurve* createFilterAnimationCurve() override; | |
| 51 blink::WebFloatAnimationCurve* createFloatAnimationCurve() override; | |
| 52 blink::WebScrollOffsetAnimationCurve* createScrollOffsetAnimationCurve( | |
| 53 blink::WebFloatPoint target_value, | |
| 54 blink::WebCompositorAnimationCurve::TimingFunctionType timing_function, | |
| 55 blink::WebScrollOffsetAnimationCurve::ScrollDurationBehavior | |
| 56 duration_behavior) override; | |
| 57 blink::WebTransformAnimationCurve* createTransformAnimationCurve() override; | |
| 58 blink::WebTransformOperations* createTransformOperations() override; | |
| 59 blink::WebFilterOperations* createFilterOperations() override; | |
| 60 | 49 |
| 61 blink::WebCompositorAnimationPlayer* createAnimationPlayer() override; | 50 blink::WebCompositorAnimationPlayer* createAnimationPlayer() override; |
| 62 blink::WebCompositorAnimationTimeline* createAnimationTimeline() override; | 51 blink::WebCompositorAnimationTimeline* createAnimationTimeline() override; |
| 63 | 52 |
| 64 private: | 53 private: |
| 65 DISALLOW_COPY_AND_ASSIGN(WebCompositorSupportImpl); | 54 DISALLOW_COPY_AND_ASSIGN(WebCompositorSupportImpl); |
| 66 }; | 55 }; |
| 67 | 56 |
| 68 } // namespace cc_blink | 57 } // namespace cc_blink |
| 69 | 58 |
| 70 #endif // CC_BLINK_WEB_COMPOSITOR_SUPPORT_IMPL_H_ | 59 #endif // CC_BLINK_WEB_COMPOSITOR_SUPPORT_IMPL_H_ |
| OLD | NEW |