| 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; |
| 140 void clearPreferredRasterScale() override; |
| 139 | 141 |
| 140 void setScrollParent(blink::WebLayer* parent) override; | 142 void setScrollParent(blink::WebLayer* parent) override; |
| 141 void setClipParent(blink::WebLayer* parent) override; | 143 void setClipParent(blink::WebLayer* parent) override; |
| 142 | 144 |
| 143 protected: | 145 protected: |
| 144 scoped_refptr<cc::Layer> layer_; | 146 scoped_refptr<cc::Layer> layer_; |
| 145 | 147 |
| 146 bool contents_opaque_is_fixed_; | 148 bool contents_opaque_is_fixed_; |
| 147 | 149 |
| 148 private: | 150 private: |
| 149 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); | 151 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); |
| 150 }; | 152 }; |
| 151 | 153 |
| 152 } // namespace cc_blink | 154 } // namespace cc_blink |
| 153 | 155 |
| 154 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ | 156 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ |
| OLD | NEW |