| 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 setFiltersOrigin(const blink::WebFloatPoint& origin) override; | 99 void setFiltersOrigin(const blink::WebFloatPoint& origin) override; |
| 100 void setBackgroundFilters(const cc::FilterOperations& filters) override; | 100 void setBackgroundFilters(const cc::FilterOperations& filters) override; |
| 101 bool hasActiveAnimationForTesting() override; | 101 bool hasActiveAnimationForTesting() override; |
| 102 void setScrollPositionDouble(blink::WebDoublePoint position) override; | 102 void setScrollOffset(blink::WebFloatSize position) override; |
| 103 blink::WebDoublePoint scrollPositionDouble() const override; | 103 blink::WebFloatSize scrollOffset() const override; |
| 104 void setScrollClipLayer(blink::WebLayer* clip_layer) override; | 104 void setScrollClipLayer(blink::WebLayer* clip_layer) override; |
| 105 bool scrollable() const override; | 105 bool scrollable() const override; |
| 106 void setUserScrollable(bool horizontal, bool vertical) override; | 106 void setUserScrollable(bool horizontal, bool vertical) override; |
| 107 bool userScrollableHorizontal() const override; | 107 bool userScrollableHorizontal() const override; |
| 108 bool userScrollableVertical() const override; | 108 bool userScrollableVertical() const override; |
| 109 void addMainThreadScrollingReasons( | 109 void addMainThreadScrollingReasons( |
| 110 uint32_t main_thread_scrolling_reasons) override; | 110 uint32_t main_thread_scrolling_reasons) override; |
| 111 void clearMainThreadScrollingReasons( | 111 void clearMainThreadScrollingReasons( |
| 112 uint32_t main_thread_scrolling_reasons_to_clear) override; | 112 uint32_t main_thread_scrolling_reasons_to_clear) override; |
| 113 uint32_t mainThreadScrollingReasons() override; | 113 uint32_t mainThreadScrollingReasons() override; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 | 145 |
| 146 bool contents_opaque_is_fixed_; | 146 bool contents_opaque_is_fixed_; |
| 147 | 147 |
| 148 private: | 148 private: |
| 149 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); | 149 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); |
| 150 }; | 150 }; |
| 151 | 151 |
| 152 } // namespace cc_blink | 152 } // namespace cc_blink |
| 153 | 153 |
| 154 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ | 154 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ |
| OLD | NEW |