Chromium Code Reviews| 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 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 GetElementId() const override; | 125 cc::ElementId GetElementId() 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 void ShowScrollbars() override; |
| 130 void SetScrollBoundaryBehavior(blink::WebScrollBoundaryBehavior) override; | |
|
bokan
2017/05/19 19:35:57
pass by const-ref
sunyunjia
2017/05/25 20:07:10
Done.
| |
| 130 | 131 |
| 131 void SetScrollParent(blink::WebLayer* parent) override; | 132 void SetScrollParent(blink::WebLayer* parent) override; |
| 132 void SetClipParent(blink::WebLayer* parent) override; | 133 void SetClipParent(blink::WebLayer* parent) override; |
| 133 | 134 |
| 134 protected: | 135 protected: |
| 135 scoped_refptr<cc::Layer> layer_; | 136 scoped_refptr<cc::Layer> layer_; |
| 136 | 137 |
| 137 bool contents_opaque_is_fixed_; | 138 bool contents_opaque_is_fixed_; |
| 138 | 139 |
| 139 private: | 140 private: |
| 140 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); | 141 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); |
| 141 }; | 142 }; |
| 142 | 143 |
| 143 } // namespace cc_blink | 144 } // namespace cc_blink |
| 144 | 145 |
| 145 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ | 146 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ |
| OLD | NEW |