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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 void setDoubleSided(bool double_sided) override; | 82 void setDoubleSided(bool double_sided) override; |
83 void setShouldFlattenTransform(bool flatten) override; | 83 void setShouldFlattenTransform(bool flatten) override; |
84 void setRenderingContext(int context) override; | 84 void setRenderingContext(int context) override; |
85 void setUseParentBackfaceVisibility(bool visible) override; | 85 void setUseParentBackfaceVisibility(bool visible) override; |
86 void setBackgroundColor(blink::WebColor color) override; | 86 void setBackgroundColor(blink::WebColor color) override; |
87 blink::WebColor backgroundColor() const override; | 87 blink::WebColor backgroundColor() const override; |
88 void setFilters(const cc::FilterOperations& filters) override; | 88 void setFilters(const cc::FilterOperations& filters) override; |
89 void setFiltersOrigin(const blink::WebFloatPoint& origin) override; | 89 void setFiltersOrigin(const blink::WebFloatPoint& origin) override; |
90 void setBackgroundFilters(const cc::FilterOperations& filters) override; | 90 void setBackgroundFilters(const cc::FilterOperations& filters) override; |
91 bool hasTickingAnimationForTesting() override; | 91 bool hasTickingAnimationForTesting() override; |
92 void setScrollPositionDouble(blink::WebDoublePoint position) override; | 92 void setScrollPosition(blink::WebFloatPoint position) override; |
93 blink::WebDoublePoint scrollPositionDouble() const override; | 93 blink::WebFloatPoint scrollPosition() const override; |
94 void setScrollClipLayer(blink::WebLayer* clip_layer) override; | 94 void setScrollClipLayer(blink::WebLayer* clip_layer) override; |
95 bool scrollable() const override; | 95 bool scrollable() const override; |
96 void setUserScrollable(bool horizontal, bool vertical) override; | 96 void setUserScrollable(bool horizontal, bool vertical) override; |
97 bool userScrollableHorizontal() const override; | 97 bool userScrollableHorizontal() const override; |
98 bool userScrollableVertical() const override; | 98 bool userScrollableVertical() const override; |
99 void addMainThreadScrollingReasons( | 99 void addMainThreadScrollingReasons( |
100 uint32_t main_thread_scrolling_reasons) override; | 100 uint32_t main_thread_scrolling_reasons) override; |
101 void clearMainThreadScrollingReasons( | 101 void clearMainThreadScrollingReasons( |
102 uint32_t main_thread_scrolling_reasons_to_clear) override; | 102 uint32_t main_thread_scrolling_reasons_to_clear) override; |
103 uint32_t mainThreadScrollingReasons() override; | 103 uint32_t mainThreadScrollingReasons() override; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 | 137 |
138 bool contents_opaque_is_fixed_; | 138 bool contents_opaque_is_fixed_; |
139 | 139 |
140 private: | 140 private: |
141 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); | 141 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); |
142 }; | 142 }; |
143 | 143 |
144 } // namespace cc_blink | 144 } // namespace cc_blink |
145 | 145 |
146 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ | 146 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ |
OLD | NEW |