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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 const blink::WebLayerPositionConstraint& constraint) override; | 123 const blink::WebLayerPositionConstraint& constraint) override; |
124 blink::WebLayerPositionConstraint positionConstraint() const override; | 124 blink::WebLayerPositionConstraint positionConstraint() const override; |
125 void setScrollClient(blink::WebLayerScrollClient* client) override; | 125 void setScrollClient(blink::WebLayerScrollClient* client) override; |
126 void setLayerClient(cc::LayerClient* client) override; | 126 void setLayerClient(cc::LayerClient* client) override; |
127 const cc::Layer* ccLayer() const override; | 127 const cc::Layer* ccLayer() const override; |
128 cc::Layer* ccLayer() override; | 128 cc::Layer* ccLayer() override; |
129 void setElementId(uint64_t id) override; | 129 void setElementId(uint64_t id) override; |
130 uint64_t elementId() const override; | 130 uint64_t elementId() const override; |
131 void setCompositorMutableProperties(uint32_t properties) override; | 131 void setCompositorMutableProperties(uint32_t properties) override; |
132 uint32_t compositorMutableProperties() const override; | 132 uint32_t compositorMutableProperties() const override; |
| 133 void setHasWillChangeTransformHint(bool has_will_change) override; |
133 | 134 |
134 void setScrollParent(blink::WebLayer* parent) override; | 135 void setScrollParent(blink::WebLayer* parent) override; |
135 void setClipParent(blink::WebLayer* parent) override; | 136 void setClipParent(blink::WebLayer* parent) override; |
136 | 137 |
137 protected: | 138 protected: |
138 scoped_refptr<cc::Layer> layer_; | 139 scoped_refptr<cc::Layer> layer_; |
139 | 140 |
140 bool contents_opaque_is_fixed_; | 141 bool contents_opaque_is_fixed_; |
141 | 142 |
142 private: | 143 private: |
143 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); | 144 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); |
144 }; | 145 }; |
145 | 146 |
146 } // namespace cc_blink | 147 } // namespace cc_blink |
147 | 148 |
148 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ | 149 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ |
OLD | NEW |