| 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 addMainThreadScrollingReasons( | 137 void addMainThreadScrollingReasons( |
| 132 uint32_t main_thread_scrolling_reasons) override; | 138 uint32_t main_thread_scrolling_reasons) override; |
| 133 void clearMainThreadScrollingReasons() override; | 139 void clearMainThreadScrollingReasons() override; |
| 134 bool shouldScrollOnMainThread() const override; | 140 bool shouldScrollOnMainThread() const override; |
| 135 void setNonFastScrollableRegion( | 141 void setNonFastScrollableRegion( |
| 136 const blink::WebVector<blink::WebRect>& region) override; | 142 const blink::WebVector<blink::WebRect>& region) override; |
| 137 blink::WebVector<blink::WebRect> nonFastScrollableRegion() const override; | 143 blink::WebVector<blink::WebRect> nonFastScrollableRegion() const override; |
| 138 void setTouchEventHandlerRegion( | 144 void setTouchEventHandlerRegion( |
| (...skipping 30 matching lines...) Expand all Loading... |
| 169 | 175 |
| 170 private: | 176 private: |
| 171 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_; | 177 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_; |
| 172 | 178 |
| 173 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); | 179 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); |
| 174 }; | 180 }; |
| 175 | 181 |
| 176 } // namespace cc_blink | 182 } // namespace cc_blink |
| 177 | 183 |
| 178 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ | 184 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ |
| OLD | NEW |