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; | |
113 bool hasActiveAnimation() override; | 112 bool hasActiveAnimation() override; |
114 void setForceRenderSurface(bool force) override; | 113 void setForceRenderSurface(bool force) override; |
115 void setScrollPositionDouble(blink::WebDoublePoint position) override; | 114 void setScrollPositionDouble(blink::WebDoublePoint position) override; |
116 blink::WebDoublePoint scrollPositionDouble() const override; | 115 blink::WebDoublePoint scrollPositionDouble() const override; |
117 void setScrollCompensationAdjustment(blink::WebDoublePoint position) override; | 116 void setScrollCompensationAdjustment(blink::WebDoublePoint position) override; |
118 void setScrollClipLayer(blink::WebLayer* clip_layer) override; | 117 void setScrollClipLayer(blink::WebLayer* clip_layer) override; |
119 bool scrollable() const override; | 118 bool scrollable() const override; |
120 void setUserScrollable(bool horizontal, bool vertical) override; | 119 void setUserScrollable(bool horizontal, bool vertical) override; |
121 bool userScrollableHorizontal() const override; | 120 bool userScrollableHorizontal() const override; |
122 bool userScrollableVertical() const override; | 121 bool userScrollableVertical() const override; |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 | 162 |
164 private: | 163 private: |
165 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_; | 164 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_; |
166 | 165 |
167 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); | 166 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); |
168 }; | 167 }; |
169 | 168 |
170 } // namespace cc_blink | 169 } // namespace cc_blink |
171 | 170 |
172 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ | 171 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ |
OLD | NEW |