| 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 const blink::WebVector<blink::WebRect>& region) override; | 117 const blink::WebVector<blink::WebRect>& region) override; |
| 118 blink::WebVector<blink::WebRect> nonFastScrollableRegion() const override; | 118 blink::WebVector<blink::WebRect> nonFastScrollableRegion() const override; |
| 119 void setTouchEventHandlerRegion( | 119 void setTouchEventHandlerRegion( |
| 120 const blink::WebVector<blink::WebRect>& region) override; | 120 const blink::WebVector<blink::WebRect>& region) override; |
| 121 blink::WebVector<blink::WebRect> touchEventHandlerRegion() const override; | 121 blink::WebVector<blink::WebRect> touchEventHandlerRegion() const override; |
| 122 void setIsContainerForFixedPositionLayers(bool is_container) override; | 122 void setIsContainerForFixedPositionLayers(bool is_container) override; |
| 123 bool isContainerForFixedPositionLayers() const override; | 123 bool isContainerForFixedPositionLayers() const override; |
| 124 void setPositionConstraint( | 124 void setPositionConstraint( |
| 125 const blink::WebLayerPositionConstraint& constraint) override; | 125 const blink::WebLayerPositionConstraint& constraint) override; |
| 126 blink::WebLayerPositionConstraint positionConstraint() const override; | 126 blink::WebLayerPositionConstraint positionConstraint() const override; |
| 127 void setStickyPositionConstraint( |
| 128 const blink::WebLayerStickyPositionConstraint& constraint) override; |
| 129 blink::WebLayerStickyPositionConstraint stickyPositionConstraint() |
| 130 const override; |
| 127 void setScrollClient(blink::WebLayerScrollClient* client) override; | 131 void setScrollClient(blink::WebLayerScrollClient* client) override; |
| 128 void setLayerClient(cc::LayerClient* client) override; | 132 void setLayerClient(cc::LayerClient* client) override; |
| 129 const cc::Layer* ccLayer() const override; | 133 const cc::Layer* ccLayer() const override; |
| 130 cc::Layer* ccLayer() override; | 134 cc::Layer* ccLayer() override; |
| 131 void setElementId(const cc::ElementId&) override; | 135 void setElementId(const cc::ElementId&) override; |
| 132 cc::ElementId elementId() const override; | 136 cc::ElementId elementId() const override; |
| 133 void setCompositorMutableProperties(uint32_t properties) override; | 137 void setCompositorMutableProperties(uint32_t properties) override; |
| 134 uint32_t compositorMutableProperties() const override; | 138 uint32_t compositorMutableProperties() const override; |
| 135 void setHasWillChangeTransformHint(bool has_will_change) override; | 139 void setHasWillChangeTransformHint(bool has_will_change) override; |
| 136 | 140 |
| 137 void setScrollParent(blink::WebLayer* parent) override; | 141 void setScrollParent(blink::WebLayer* parent) override; |
| 138 void setClipParent(blink::WebLayer* parent) override; | 142 void setClipParent(blink::WebLayer* parent) override; |
| 139 | 143 |
| 140 protected: | 144 protected: |
| 141 scoped_refptr<cc::Layer> layer_; | 145 scoped_refptr<cc::Layer> layer_; |
| 142 | 146 |
| 143 bool contents_opaque_is_fixed_; | 147 bool contents_opaque_is_fixed_; |
| 144 | 148 |
| 145 private: | 149 private: |
| 146 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); | 150 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); |
| 147 }; | 151 }; |
| 148 | 152 |
| 149 } // namespace cc_blink | 153 } // namespace cc_blink |
| 150 | 154 |
| 151 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ | 155 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ |
| OLD | NEW |