Chromium Code Reviews| 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 99 void AddMainThreadScrollingReasons( | 99 void AddMainThreadScrollingReasons( |
| 100 uint32_t main_thread_scrolling_reasons) override; | 100 uint32_t main_thread_scrolling_reasons) override; |
| 101 void ClearMainThreadScrollingReasons( | 101 void ClearMainThreadScrollingReasons( |
| 102 uint32_t main_thread_scrolling_reasons_to_clear) override; | 102 uint32_t main_thread_scrolling_reasons_to_clear) override; |
| 103 uint32_t MainThreadScrollingReasons() override; | 103 uint32_t MainThreadScrollingReasons() override; |
| 104 bool ShouldScrollOnMainThread() const override; | 104 bool ShouldScrollOnMainThread() const override; |
| 105 void SetNonFastScrollableRegion( | 105 void SetNonFastScrollableRegion( |
| 106 const blink::WebVector<blink::WebRect>& region) override; | 106 const blink::WebVector<blink::WebRect>& region) override; |
| 107 blink::WebVector<blink::WebRect> NonFastScrollableRegion() const override; | 107 blink::WebVector<blink::WebRect> NonFastScrollableRegion() const override; |
| 108 void SetTouchEventHandlerRegion( | 108 void SetTouchEventHandlerRegion( |
| 109 const blink::WebVector<blink::WebRect>& region) override; | 109 const blink::WebVector<blink::WebTouchActionRect>& touch_action_rect) |
|
wkorman
2017/05/03 20:02:14
Suggest pluralizing param name (it wasn't before,
xidachen
2017/05/04 12:11:21
Changed to touch_info.
| |
| 110 override; | |
| 110 blink::WebVector<blink::WebRect> TouchEventHandlerRegion() const override; | 111 blink::WebVector<blink::WebRect> TouchEventHandlerRegion() const override; |
| 111 void SetIsContainerForFixedPositionLayers(bool is_container) override; | 112 void SetIsContainerForFixedPositionLayers(bool is_container) override; |
| 112 bool IsContainerForFixedPositionLayers() const override; | 113 bool IsContainerForFixedPositionLayers() const override; |
| 113 void SetPositionConstraint( | 114 void SetPositionConstraint( |
| 114 const blink::WebLayerPositionConstraint& constraint) override; | 115 const blink::WebLayerPositionConstraint& constraint) override; |
| 115 blink::WebLayerPositionConstraint PositionConstraint() const override; | 116 blink::WebLayerPositionConstraint PositionConstraint() const override; |
| 116 void SetStickyPositionConstraint( | 117 void SetStickyPositionConstraint( |
| 117 const blink::WebLayerStickyPositionConstraint& constraint) override; | 118 const blink::WebLayerStickyPositionConstraint& constraint) override; |
| 118 blink::WebLayerStickyPositionConstraint StickyPositionConstraint() | 119 blink::WebLayerStickyPositionConstraint StickyPositionConstraint() |
| 119 const override; | 120 const override; |
| (...skipping 16 matching lines...) Expand all Loading... | |
| 136 | 137 |
| 137 bool contents_opaque_is_fixed_; | 138 bool contents_opaque_is_fixed_; |
| 138 | 139 |
| 139 private: | 140 private: |
| 140 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); | 141 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); |
| 141 }; | 142 }; |
| 142 | 143 |
| 143 } // namespace cc_blink | 144 } // namespace cc_blink |
| 144 | 145 |
| 145 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ | 146 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ |
| OLD | NEW |