| 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 SKY_VIEWER_CC_WEB_COMPOSITOR_SUPPORT_IMPL_H_ | 5 #ifndef SKY_VIEWER_CC_WEB_COMPOSITOR_SUPPORT_IMPL_H_ |
| 6 #define SKY_VIEWER_CC_WEB_COMPOSITOR_SUPPORT_IMPL_H_ | 6 #define SKY_VIEWER_CC_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 "sky/viewer/cc/sky_viewer_cc_export.h" | 10 #include "sky/viewer/cc/sky_viewer_cc_export.h" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 public: | 24 public: |
| 25 WebCompositorSupportImpl(); | 25 WebCompositorSupportImpl(); |
| 26 virtual ~WebCompositorSupportImpl(); | 26 virtual ~WebCompositorSupportImpl(); |
| 27 | 27 |
| 28 virtual blink::WebLayer* createLayer(); | 28 virtual blink::WebLayer* createLayer(); |
| 29 virtual blink::WebContentLayer* createContentLayer( | 29 virtual blink::WebContentLayer* createContentLayer( |
| 30 blink::WebContentLayerClient* client); | 30 blink::WebContentLayerClient* client); |
| 31 virtual blink::WebExternalTextureLayer* createExternalTextureLayer( | 31 virtual blink::WebExternalTextureLayer* createExternalTextureLayer( |
| 32 blink::WebExternalTextureLayerClient* client); | 32 blink::WebExternalTextureLayerClient* client); |
| 33 virtual blink::WebImageLayer* createImageLayer(); | 33 virtual blink::WebImageLayer* createImageLayer(); |
| 34 virtual blink::WebScrollbarLayer* createScrollbarLayer( | |
| 35 blink::WebScrollbar* scrollbar, | |
| 36 blink::WebScrollbarThemePainter painter, | |
| 37 blink::WebScrollbarThemeGeometry*); | |
| 38 virtual blink::WebScrollbarLayer* createSolidColorScrollbarLayer( | |
| 39 blink::WebScrollbar::Orientation orientation, | |
| 40 int thumb_thickness, | |
| 41 int track_start, | |
| 42 bool is_left_side_vertical_scrollbar); | |
| 43 virtual blink::WebCompositorAnimation* createAnimation( | 34 virtual blink::WebCompositorAnimation* createAnimation( |
| 44 const blink::WebCompositorAnimationCurve& curve, | 35 const blink::WebCompositorAnimationCurve& curve, |
| 45 blink::WebCompositorAnimation::TargetProperty target, | 36 blink::WebCompositorAnimation::TargetProperty target, |
| 46 int animation_id); | 37 int animation_id); |
| 47 virtual blink::WebFilterAnimationCurve* createFilterAnimationCurve(); | 38 virtual blink::WebFilterAnimationCurve* createFilterAnimationCurve(); |
| 48 virtual blink::WebFloatAnimationCurve* createFloatAnimationCurve(); | 39 virtual blink::WebFloatAnimationCurve* createFloatAnimationCurve(); |
| 49 virtual blink::WebScrollOffsetAnimationCurve* | |
| 50 createScrollOffsetAnimationCurve( | |
| 51 blink::WebFloatPoint target_value, | |
| 52 blink::WebCompositorAnimationCurve::TimingFunctionType | |
| 53 timing_function); | |
| 54 virtual blink::WebTransformAnimationCurve* createTransformAnimationCurve(); | 40 virtual blink::WebTransformAnimationCurve* createTransformAnimationCurve(); |
| 55 virtual blink::WebTransformOperations* createTransformOperations(); | 41 virtual blink::WebTransformOperations* createTransformOperations(); |
| 56 virtual blink::WebFilterOperations* createFilterOperations(); | 42 virtual blink::WebFilterOperations* createFilterOperations(); |
| 57 | 43 |
| 58 private: | 44 private: |
| 59 DISALLOW_COPY_AND_ASSIGN(WebCompositorSupportImpl); | 45 DISALLOW_COPY_AND_ASSIGN(WebCompositorSupportImpl); |
| 60 }; | 46 }; |
| 61 | 47 |
| 62 } // namespace sky_viewer_cc | 48 } // namespace sky_viewer_cc |
| 63 | 49 |
| 64 #endif // SKY_VIEWER_CC_WEB_COMPOSITOR_SUPPORT_IMPL_H_ | 50 #endif // SKY_VIEWER_CC_WEB_COMPOSITOR_SUPPORT_IMPL_H_ |
| OLD | NEW |