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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 bool hasActiveAnimation() override; | 114 bool hasActiveAnimation() override; |
115 void setForceRenderSurface(bool force) override; | 115 void setForceRenderSurface(bool force) override; |
116 void setScrollPositionDouble(blink::WebDoublePoint position) override; | 116 void setScrollPositionDouble(blink::WebDoublePoint position) override; |
117 blink::WebDoublePoint scrollPositionDouble() const override; | 117 blink::WebDoublePoint scrollPositionDouble() const override; |
118 void setScrollCompensationAdjustment(blink::WebDoublePoint position) override; | 118 void setScrollCompensationAdjustment(blink::WebDoublePoint position) override; |
119 void setScrollClipLayer(blink::WebLayer* clip_layer) override; | 119 void setScrollClipLayer(blink::WebLayer* clip_layer) override; |
120 bool scrollable() const override; | 120 bool scrollable() const override; |
121 void setUserScrollable(bool horizontal, bool vertical) override; | 121 void setUserScrollable(bool horizontal, bool vertical) override; |
122 bool userScrollableHorizontal() const override; | 122 bool userScrollableHorizontal() const override; |
123 bool userScrollableVertical() const override; | 123 bool userScrollableVertical() const override; |
124 void setHaveScrollEventHandlers(bool have_scroll_event_handlers) override; | |
125 bool haveScrollEventHandlers() const override; | |
126 void addMainThreadScrollingReasons( | 124 void addMainThreadScrollingReasons( |
127 uint32_t main_thread_scrolling_reasons) override; | 125 uint32_t main_thread_scrolling_reasons) override; |
128 void clearMainThreadScrollingReasons() override; | 126 void clearMainThreadScrollingReasons() override; |
129 bool shouldScrollOnMainThread() const override; | 127 bool shouldScrollOnMainThread() const override; |
130 void setNonFastScrollableRegion( | 128 void setNonFastScrollableRegion( |
131 const blink::WebVector<blink::WebRect>& region) override; | 129 const blink::WebVector<blink::WebRect>& region) override; |
132 blink::WebVector<blink::WebRect> nonFastScrollableRegion() const override; | 130 blink::WebVector<blink::WebRect> nonFastScrollableRegion() const override; |
133 void setTouchEventHandlerRegion( | 131 void setTouchEventHandlerRegion( |
134 const blink::WebVector<blink::WebRect>& region) override; | 132 const blink::WebVector<blink::WebRect>& region) override; |
135 blink::WebVector<blink::WebRect> touchEventHandlerRegion() const override; | 133 blink::WebVector<blink::WebRect> touchEventHandlerRegion() const override; |
(...skipping 26 matching lines...) Expand all Loading... |
162 | 160 |
163 private: | 161 private: |
164 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_; | 162 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_; |
165 | 163 |
166 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); | 164 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); |
167 }; | 165 }; |
168 | 166 |
169 } // namespace cc_blink | 167 } // namespace cc_blink |
170 | 168 |
171 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ | 169 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ |
OLD | NEW |