| 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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 blink::WebVector<std::pair<int64_t, blink::WebRect>> frameTimingRequests() | 139 blink::WebVector<std::pair<int64_t, blink::WebRect>> frameTimingRequests() |
| 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 setWebLayerClient(blink::WebLayerClient* client) override; | 148 void setWebLayerClient(blink::WebLayerClient* client) override; |
| 149 void setElementId(uint64_t id) override; |
| 150 uint64_t elementId() const override; |
| 151 void setMutableProperties(uint32_t properties) override; |
| 152 uint32_t mutableProperties() const override; |
| 149 | 153 |
| 150 // LayerClient implementation. | 154 // LayerClient implementation. |
| 151 scoped_refptr<base::trace_event::ConvertableToTraceFormat> TakeDebugInfo() | 155 scoped_refptr<base::trace_event::ConvertableToTraceFormat> TakeDebugInfo() |
| 152 override; | 156 override; |
| 153 | 157 |
| 154 void setScrollParent(blink::WebLayer* parent) override; | 158 void setScrollParent(blink::WebLayer* parent) override; |
| 155 void setClipParent(blink::WebLayer* parent) override; | 159 void setClipParent(blink::WebLayer* parent) override; |
| 156 | 160 |
| 157 protected: | 161 protected: |
| 158 scoped_refptr<cc::Layer> layer_; | 162 scoped_refptr<cc::Layer> layer_; |
| 159 blink::WebLayerClient* web_layer_client_; | 163 blink::WebLayerClient* web_layer_client_; |
| 160 | 164 |
| 161 bool contents_opaque_is_fixed_; | 165 bool contents_opaque_is_fixed_; |
| 162 | 166 |
| 163 private: | 167 private: |
| 164 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_; | 168 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_; |
| 165 | 169 |
| 166 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); | 170 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); |
| 167 }; | 171 }; |
| 168 | 172 |
| 169 } // namespace cc_blink | 173 } // namespace cc_blink |
| 170 | 174 |
| 171 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ | 175 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ |
| OLD | NEW |