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 bool hasActiveAnimation() override; | 117 bool hasActiveAnimation() override; |
118 void setForceRenderSurface(bool force) override; | 118 void setForceRenderSurface(bool force) override; |
119 void setScrollPositionDouble(blink::WebDoublePoint position) override; | 119 void setScrollPositionDouble(blink::WebDoublePoint position) override; |
120 blink::WebDoublePoint scrollPositionDouble() const override; | 120 blink::WebDoublePoint scrollPositionDouble() const override; |
121 void setScrollCompensationAdjustment(blink::WebDoublePoint position) override; | 121 void setScrollCompensationAdjustment(blink::WebDoublePoint position) override; |
122 void setScrollClipLayer(blink::WebLayer* clip_layer) override; | 122 void setScrollClipLayer(blink::WebLayer* clip_layer) override; |
123 bool scrollable() const override; | 123 bool scrollable() const override; |
124 void setUserScrollable(bool horizontal, bool vertical) override; | 124 void setUserScrollable(bool horizontal, bool vertical) override; |
125 bool userScrollableHorizontal() const override; | 125 bool userScrollableHorizontal() const override; |
126 bool userScrollableVertical() const override; | 126 bool userScrollableVertical() const override; |
127 void setHaveWheelEventHandlers(bool have_wheel_event_handlers) override; | 127 void setTouchEventListenerProperties( |
128 bool haveWheelEventHandlers() const override; | 128 blink::WebEventListenerProperties touch_event_properties) override; |
| 129 blink::WebEventListenerProperties touchEventListenerProperties() |
| 130 const override; |
| 131 void setWheelEventListenerProperties( |
| 132 blink::WebEventListenerProperties wheel_event_properties) override; |
| 133 blink::WebEventListenerProperties wheelEventListenerProperties() |
| 134 const override; |
129 void setHaveScrollEventHandlers(bool have_scroll_event_handlers) override; | 135 void setHaveScrollEventHandlers(bool have_scroll_event_handlers) override; |
130 bool haveScrollEventHandlers() const override; | 136 bool haveScrollEventHandlers() const override; |
131 void setShouldScrollOnMainThread(bool scroll_on_main) override; | 137 void setShouldScrollOnMainThread(bool scroll_on_main) override; |
132 bool shouldScrollOnMainThread() const override; | 138 bool shouldScrollOnMainThread() const override; |
133 void setNonFastScrollableRegion( | 139 void setNonFastScrollableRegion( |
134 const blink::WebVector<blink::WebRect>& region) override; | 140 const blink::WebVector<blink::WebRect>& region) override; |
135 blink::WebVector<blink::WebRect> nonFastScrollableRegion() const override; | 141 blink::WebVector<blink::WebRect> nonFastScrollableRegion() const override; |
136 void setTouchEventHandlerRegion( | 142 void setTouchEventHandlerRegion( |
137 const blink::WebVector<blink::WebRect>& region) override; | 143 const blink::WebVector<blink::WebRect>& region) override; |
138 blink::WebVector<blink::WebRect> touchEventHandlerRegion() const override; | 144 blink::WebVector<blink::WebRect> touchEventHandlerRegion() const override; |
(...skipping 28 matching lines...) Expand all Loading... |
167 | 173 |
168 private: | 174 private: |
169 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_; | 175 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_; |
170 | 176 |
171 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); | 177 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); |
172 }; | 178 }; |
173 | 179 |
174 } // namespace cc_blink | 180 } // namespace cc_blink |
175 | 181 |
176 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ | 182 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ |
OLD | NEW |