| 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 void addMainThreadScrollingReasons( | 128 void addMainThreadScrollingReasons( |
| 129 uint32_t main_thread_scrolling_reasons) override; | 129 uint32_t main_thread_scrolling_reasons) override; |
| 130 void clearMainThreadScrollingReasons() override; | 130 void clearMainThreadScrollingReasons() override; |
| 131 bool shouldScrollOnMainThread() const override; | 131 bool shouldScrollOnMainThread() const override; |
| 132 void setNonFastScrollableRegion( | 132 void setNonFastScrollableRegion( |
| 133 const blink::WebVector<blink::WebRect>& region) override; | 133 const blink::WebVector<blink::WebRect>& region) override; |
| 134 blink::WebVector<blink::WebRect> nonFastScrollableRegion() const override; | 134 blink::WebVector<blink::WebRect> nonFastScrollableRegion() const override; |
| 135 void setTouchEventHandlerRegion( | 135 void setTouchEventHandlerRegion( |
| 136 const blink::WebVector<blink::WebRect>& region) override; | 136 const blink::WebVector<blink::WebRect>& region) override; |
| 137 blink::WebVector<blink::WebRect> touchEventHandlerRegion() const override; | 137 blink::WebVector<blink::WebRect> touchEventHandlerRegion() const override; |
| 138 void setScrollBlocksOn(blink::WebScrollBlocksOn) override; | |
| 139 blink::WebScrollBlocksOn scrollBlocksOn() const override; | |
| 140 void setFrameTimingRequests( | 138 void setFrameTimingRequests( |
| 141 const blink::WebVector<std::pair<int64_t, blink::WebRect>>& requests) | 139 const blink::WebVector<std::pair<int64_t, blink::WebRect>>& requests) |
| 142 override; | 140 override; |
| 143 blink::WebVector<std::pair<int64_t, blink::WebRect>> frameTimingRequests() | 141 blink::WebVector<std::pair<int64_t, blink::WebRect>> frameTimingRequests() |
| 144 const override; | 142 const override; |
| 145 void setIsContainerForFixedPositionLayers(bool is_container) override; | 143 void setIsContainerForFixedPositionLayers(bool is_container) override; |
| 146 bool isContainerForFixedPositionLayers() const override; | 144 bool isContainerForFixedPositionLayers() const override; |
| 147 void setPositionConstraint( | 145 void setPositionConstraint( |
| 148 const blink::WebLayerPositionConstraint& constraint) override; | 146 const blink::WebLayerPositionConstraint& constraint) override; |
| 149 blink::WebLayerPositionConstraint positionConstraint() const override; | 147 blink::WebLayerPositionConstraint positionConstraint() const override; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 166 | 164 |
| 167 private: | 165 private: |
| 168 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_; | 166 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_; |
| 169 | 167 |
| 170 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); | 168 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); |
| 171 }; | 169 }; |
| 172 | 170 |
| 173 } // namespace cc_blink | 171 } // namespace cc_blink |
| 174 | 172 |
| 175 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ | 173 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ |
| OLD | NEW |