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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 const override; | 129 const override; |
130 void setScrollClient(blink::WebLayerScrollClient* client) override; | 130 void setScrollClient(blink::WebLayerScrollClient* client) override; |
131 void setLayerClient(cc::LayerClient* client) override; | 131 void setLayerClient(cc::LayerClient* client) override; |
132 const cc::Layer* ccLayer() const override; | 132 const cc::Layer* ccLayer() const override; |
133 cc::Layer* ccLayer() override; | 133 cc::Layer* ccLayer() override; |
134 void setElementId(const cc::ElementId&) override; | 134 void setElementId(const cc::ElementId&) override; |
135 cc::ElementId elementId() const override; | 135 cc::ElementId elementId() const override; |
136 void setCompositorMutableProperties(uint32_t properties) override; | 136 void setCompositorMutableProperties(uint32_t properties) override; |
137 uint32_t compositorMutableProperties() const override; | 137 uint32_t compositorMutableProperties() const override; |
138 void setHasWillChangeTransformHint(bool has_will_change) override; | 138 void setHasWillChangeTransformHint(bool has_will_change) override; |
139 void setPreferredRasterScale(float raster_scale) override; | 139 void setPreferredRasterBounds(const blink::WebSize&) override; |
140 void clearPreferredRasterScale() override; | 140 void clearPreferredRasterBounds() override; |
141 | 141 |
142 void setScrollParent(blink::WebLayer* parent) override; | 142 void setScrollParent(blink::WebLayer* parent) override; |
143 void setClipParent(blink::WebLayer* parent) override; | 143 void setClipParent(blink::WebLayer* parent) override; |
144 | 144 |
145 protected: | 145 protected: |
146 scoped_refptr<cc::Layer> layer_; | 146 scoped_refptr<cc::Layer> layer_; |
147 | 147 |
148 bool contents_opaque_is_fixed_; | 148 bool contents_opaque_is_fixed_; |
149 | 149 |
150 private: | 150 private: |
151 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); | 151 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); |
152 }; | 152 }; |
153 | 153 |
154 } // namespace cc_blink | 154 } // namespace cc_blink |
155 | 155 |
156 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ | 156 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ |
OLD | NEW |