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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 bool drawsContent() const override; | 91 bool drawsContent() const override; |
92 void setDoubleSided(bool double_sided) override; | 92 void setDoubleSided(bool double_sided) override; |
93 void setShouldFlattenTransform(bool flatten) override; | 93 void setShouldFlattenTransform(bool flatten) override; |
94 void setRenderingContext(int context) override; | 94 void setRenderingContext(int context) override; |
95 void setUseParentBackfaceVisibility(bool visible) override; | 95 void setUseParentBackfaceVisibility(bool visible) override; |
96 void setBackgroundColor(blink::WebColor color) override; | 96 void setBackgroundColor(blink::WebColor color) override; |
97 blink::WebColor backgroundColor() const override; | 97 blink::WebColor backgroundColor() const override; |
98 void setFilters(const cc::FilterOperations& filters) override; | 98 void setFilters(const cc::FilterOperations& filters) override; |
99 void setBackgroundFilters(const cc::FilterOperations& filters) override; | 99 void setBackgroundFilters(const cc::FilterOperations& filters) override; |
100 bool hasActiveAnimationForTesting() override; | 100 bool hasActiveAnimationForTesting() override; |
101 void setForceRenderSurface(bool force) override; | |
102 void setScrollPositionDouble(blink::WebDoublePoint position) override; | 101 void setScrollPositionDouble(blink::WebDoublePoint position) override; |
103 blink::WebDoublePoint scrollPositionDouble() const override; | 102 blink::WebDoublePoint scrollPositionDouble() const override; |
104 void setScrollClipLayer(blink::WebLayer* clip_layer) override; | 103 void setScrollClipLayer(blink::WebLayer* clip_layer) override; |
105 bool scrollable() const override; | 104 bool scrollable() const override; |
106 void setUserScrollable(bool horizontal, bool vertical) override; | 105 void setUserScrollable(bool horizontal, bool vertical) override; |
107 bool userScrollableHorizontal() const override; | 106 bool userScrollableHorizontal() const override; |
108 bool userScrollableVertical() const override; | 107 bool userScrollableVertical() const override; |
109 void addMainThreadScrollingReasons( | 108 void addMainThreadScrollingReasons( |
110 uint32_t main_thread_scrolling_reasons) override; | 109 uint32_t main_thread_scrolling_reasons) override; |
111 void clearMainThreadScrollingReasons( | 110 void clearMainThreadScrollingReasons( |
(...skipping 28 matching lines...) Expand all Loading... |
140 | 139 |
141 bool contents_opaque_is_fixed_; | 140 bool contents_opaque_is_fixed_; |
142 | 141 |
143 private: | 142 private: |
144 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); | 143 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); |
145 }; | 144 }; |
146 | 145 |
147 } // namespace cc_blink | 146 } // namespace cc_blink |
148 | 147 |
149 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ | 148 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ |
OLD | NEW |