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_LAYER_IMPL_H_ | 5 #ifndef CC_BLINK_WEB_LAYER_IMPL_H_ |
6 #define CC_BLINK_WEB_LAYER_IMPL_H_ | 6 #define CC_BLINK_WEB_LAYER_IMPL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 blink::WebColor backgroundColor() const override; | 102 blink::WebColor backgroundColor() const override; |
103 void setFilters(const blink::WebFilterOperations& filters) override; | 103 void setFilters(const blink::WebFilterOperations& filters) override; |
104 void setBackgroundFilters(const blink::WebFilterOperations& filters) override; | 104 void setBackgroundFilters(const blink::WebFilterOperations& filters) override; |
105 void setAnimationDelegate( | 105 void setAnimationDelegate( |
106 blink::WebCompositorAnimationDelegate* delegate) override; | 106 blink::WebCompositorAnimationDelegate* delegate) override; |
107 bool addAnimation(blink::WebCompositorAnimation* animation) override; | 107 bool addAnimation(blink::WebCompositorAnimation* animation) override; |
108 void removeAnimation(int animation_id) override; | 108 void removeAnimation(int animation_id) override; |
109 void removeAnimation(int animation_id, | 109 void removeAnimation(int animation_id, |
110 blink::WebCompositorAnimation::TargetProperty) override; | 110 blink::WebCompositorAnimation::TargetProperty) override; |
111 void pauseAnimation(int animation_id, double time_offset) override; | 111 void pauseAnimation(int animation_id, double time_offset) override; |
| 112 void abortAnimation(int animation_id) override; |
112 bool hasActiveAnimation() override; | 113 bool hasActiveAnimation() override; |
113 void setForceRenderSurface(bool force) override; | 114 void setForceRenderSurface(bool force) override; |
114 void setScrollPositionDouble(blink::WebDoublePoint position) override; | 115 void setScrollPositionDouble(blink::WebDoublePoint position) override; |
115 blink::WebDoublePoint scrollPositionDouble() const override; | 116 blink::WebDoublePoint scrollPositionDouble() const override; |
116 void setScrollCompensationAdjustment(blink::WebDoublePoint position) override; | 117 void setScrollCompensationAdjustment(blink::WebDoublePoint position) override; |
117 void setScrollClipLayer(blink::WebLayer* clip_layer) override; | 118 void setScrollClipLayer(blink::WebLayer* clip_layer) override; |
118 bool scrollable() const override; | 119 bool scrollable() const override; |
119 void setUserScrollable(bool horizontal, bool vertical) override; | 120 void setUserScrollable(bool horizontal, bool vertical) override; |
120 bool userScrollableHorizontal() const override; | 121 bool userScrollableHorizontal() const override; |
121 bool userScrollableVertical() const override; | 122 bool userScrollableVertical() const override; |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 | 163 |
163 private: | 164 private: |
164 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_; | 165 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_; |
165 | 166 |
166 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); | 167 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); |
167 }; | 168 }; |
168 | 169 |
169 } // namespace cc_blink | 170 } // namespace cc_blink |
170 | 171 |
171 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ | 172 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ |
OLD | NEW |