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 <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 void setScrollPositionDouble(blink::WebDoublePoint position) override; | 117 void setScrollPositionDouble(blink::WebDoublePoint position) override; |
118 blink::WebDoublePoint scrollPositionDouble() const override; | 118 blink::WebDoublePoint scrollPositionDouble() const override; |
119 void setScrollCompensationAdjustment(blink::WebDoublePoint position) override; | 119 void setScrollCompensationAdjustment(blink::WebDoublePoint position) override; |
120 void setScrollClipLayer(blink::WebLayer* clip_layer) override; | 120 void setScrollClipLayer(blink::WebLayer* clip_layer) override; |
121 bool scrollable() const override; | 121 bool scrollable() const override; |
122 void setUserScrollable(bool horizontal, bool vertical) override; | 122 void setUserScrollable(bool horizontal, bool vertical) override; |
123 bool userScrollableHorizontal() const override; | 123 bool userScrollableHorizontal() const override; |
124 bool userScrollableVertical() const override; | 124 bool userScrollableVertical() const override; |
125 void addMainThreadScrollingReasons( | 125 void addMainThreadScrollingReasons( |
126 uint32_t main_thread_scrolling_reasons) override; | 126 uint32_t main_thread_scrolling_reasons) override; |
127 void clearMainThreadScrollingReasons() override; | 127 void clearMainThreadScrollingReasons( |
| 128 uint32_t main_thread_scrolling_reasons_to_clear) override; |
| 129 uint32_t mainThreadScrollingReasons() override; |
128 bool shouldScrollOnMainThread() const override; | 130 bool shouldScrollOnMainThread() const override; |
129 void setNonFastScrollableRegion( | 131 void setNonFastScrollableRegion( |
130 const blink::WebVector<blink::WebRect>& region) override; | 132 const blink::WebVector<blink::WebRect>& region) override; |
131 blink::WebVector<blink::WebRect> nonFastScrollableRegion() const override; | 133 blink::WebVector<blink::WebRect> nonFastScrollableRegion() const override; |
132 void setTouchEventHandlerRegion( | 134 void setTouchEventHandlerRegion( |
133 const blink::WebVector<blink::WebRect>& region) override; | 135 const blink::WebVector<blink::WebRect>& region) override; |
134 blink::WebVector<blink::WebRect> touchEventHandlerRegion() const override; | 136 blink::WebVector<blink::WebRect> touchEventHandlerRegion() const override; |
135 void setFrameTimingRequests( | 137 void setFrameTimingRequests( |
136 const blink::WebVector<std::pair<int64_t, blink::WebRect>>& requests) | 138 const blink::WebVector<std::pair<int64_t, blink::WebRect>>& requests) |
137 override; | 139 override; |
(...skipping 22 matching lines...) Expand all Loading... |
160 | 162 |
161 private: | 163 private: |
162 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_; | 164 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_; |
163 | 165 |
164 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); | 166 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); |
165 }; | 167 }; |
166 | 168 |
167 } // namespace cc_blink | 169 } // namespace cc_blink |
168 | 170 |
169 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ | 171 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ |
OLD | NEW |