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 <string> | 8 #include <string> |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 const override; | 140 const override; |
141 void setIsContainerForFixedPositionLayers(bool is_container) override; | 141 void setIsContainerForFixedPositionLayers(bool is_container) override; |
142 bool isContainerForFixedPositionLayers() const override; | 142 bool isContainerForFixedPositionLayers() const override; |
143 void setPositionConstraint( | 143 void setPositionConstraint( |
144 const blink::WebLayerPositionConstraint& constraint) override; | 144 const blink::WebLayerPositionConstraint& constraint) override; |
145 blink::WebLayerPositionConstraint positionConstraint() const override; | 145 blink::WebLayerPositionConstraint positionConstraint() const override; |
146 void setScrollClient(blink::WebLayerScrollClient* client) override; | 146 void setScrollClient(blink::WebLayerScrollClient* client) override; |
147 bool isOrphan() const override; | 147 bool isOrphan() const override; |
148 void setLayerClient(cc::LayerClient* client) override; | 148 void setLayerClient(cc::LayerClient* client) override; |
149 const cc::Layer* ccLayer() const override; | 149 const cc::Layer* ccLayer() const override; |
| 150 void setElementId(uint64_t id) override; |
| 151 uint64_t elementId() const override; |
| 152 void setCompositorMutableProperties(uint32_t properties) override; |
| 153 uint32_t compositorMutableProperties() const override; |
150 | 154 |
151 void setScrollParent(blink::WebLayer* parent) override; | 155 void setScrollParent(blink::WebLayer* parent) override; |
152 void setClipParent(blink::WebLayer* parent) override; | 156 void setClipParent(blink::WebLayer* parent) override; |
153 | 157 |
154 protected: | 158 protected: |
155 scoped_refptr<cc::Layer> layer_; | 159 scoped_refptr<cc::Layer> layer_; |
156 | 160 |
157 bool contents_opaque_is_fixed_; | 161 bool contents_opaque_is_fixed_; |
158 | 162 |
159 private: | 163 private: |
160 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_; | 164 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_; |
161 | 165 |
162 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); | 166 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); |
163 }; | 167 }; |
164 | 168 |
165 } // namespace cc_blink | 169 } // namespace cc_blink |
166 | 170 |
167 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ | 171 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ |
OLD | NEW |