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