| 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 void SetScrollClient(blink::WebLayerScrollClient* client) override; | 122 void SetScrollClient(blink::WebLayerScrollClient* client) override; |
| 123 void SetLayerClient(cc::LayerClient* client) override; | 123 void SetLayerClient(cc::LayerClient* client) override; |
| 124 const cc::Layer* CcLayer() const override; | 124 const cc::Layer* CcLayer() const override; |
| 125 cc::Layer* CcLayer() override; | 125 cc::Layer* CcLayer() override; |
| 126 void SetElementId(const cc::ElementId&) override; | 126 void SetElementId(const cc::ElementId&) override; |
| 127 cc::ElementId GetElementId() const override; | 127 cc::ElementId GetElementId() const override; |
| 128 void SetCompositorMutableProperties(uint32_t properties) override; | 128 void SetCompositorMutableProperties(uint32_t properties) override; |
| 129 uint32_t CompositorMutableProperties() const override; | 129 uint32_t CompositorMutableProperties() const override; |
| 130 void SetHasWillChangeTransformHint(bool has_will_change) override; | 130 void SetHasWillChangeTransformHint(bool has_will_change) override; |
| 131 void ShowScrollbars() override; | 131 void ShowScrollbars() override; |
| 132 void SetScrollBoundaryBehavior( |
| 133 const blink::WebScrollBoundaryBehavior&) override; |
| 132 | 134 |
| 133 void SetScrollParent(blink::WebLayer* parent) override; | 135 void SetScrollParent(blink::WebLayer* parent) override; |
| 134 void SetClipParent(blink::WebLayer* parent) override; | 136 void SetClipParent(blink::WebLayer* parent) override; |
| 135 | 137 |
| 136 protected: | 138 protected: |
| 137 scoped_refptr<cc::Layer> layer_; | 139 scoped_refptr<cc::Layer> layer_; |
| 138 | 140 |
| 139 bool contents_opaque_is_fixed_; | 141 bool contents_opaque_is_fixed_; |
| 140 | 142 |
| 141 private: | 143 private: |
| 142 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); | 144 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); |
| 143 }; | 145 }; |
| 144 | 146 |
| 145 } // namespace cc_blink | 147 } // namespace cc_blink |
| 146 | 148 |
| 147 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ | 149 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ |
| OLD | NEW |