| 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 void setRenderingContext(int context) override; | 95 void setRenderingContext(int context) override; |
| 96 void setUseParentBackfaceVisibility(bool visible) override; | 96 void setUseParentBackfaceVisibility(bool visible) override; |
| 97 void setBackgroundColor(blink::WebColor color) override; | 97 void setBackgroundColor(blink::WebColor color) override; |
| 98 blink::WebColor backgroundColor() const override; | 98 blink::WebColor backgroundColor() const override; |
| 99 void setFilters(const cc::FilterOperations& filters) override; | 99 void setFilters(const cc::FilterOperations& filters) 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 setForceRenderSurface(bool force) override; | 102 void setForceRenderSurface(bool force) override; |
| 103 void setScrollPositionDouble(blink::WebDoublePoint position) override; | 103 void setScrollPositionDouble(blink::WebDoublePoint position) override; |
| 104 blink::WebDoublePoint scrollPositionDouble() const override; | 104 blink::WebDoublePoint scrollPositionDouble() const override; |
| 105 void setScrollCompensationAdjustment(blink::WebDoublePoint position) override; | |
| 106 void setScrollClipLayer(blink::WebLayer* clip_layer) override; | 105 void setScrollClipLayer(blink::WebLayer* clip_layer) override; |
| 107 bool scrollable() const override; | 106 bool scrollable() const override; |
| 108 void setUserScrollable(bool horizontal, bool vertical) override; | 107 void setUserScrollable(bool horizontal, bool vertical) override; |
| 109 bool userScrollableHorizontal() const override; | 108 bool userScrollableHorizontal() const override; |
| 110 bool userScrollableVertical() const override; | 109 bool userScrollableVertical() const override; |
| 111 void addMainThreadScrollingReasons( | 110 void addMainThreadScrollingReasons( |
| 112 uint32_t main_thread_scrolling_reasons) override; | 111 uint32_t main_thread_scrolling_reasons) override; |
| 113 void clearMainThreadScrollingReasons( | 112 void clearMainThreadScrollingReasons( |
| 114 uint32_t main_thread_scrolling_reasons_to_clear) override; | 113 uint32_t main_thread_scrolling_reasons_to_clear) override; |
| 115 uint32_t mainThreadScrollingReasons() override; | 114 uint32_t mainThreadScrollingReasons() override; |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 | 146 |
| 148 bool contents_opaque_is_fixed_; | 147 bool contents_opaque_is_fixed_; |
| 149 | 148 |
| 150 private: | 149 private: |
| 151 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); | 150 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); |
| 152 }; | 151 }; |
| 153 | 152 |
| 154 } // namespace cc_blink | 153 } // namespace cc_blink |
| 155 | 154 |
| 156 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ | 155 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ |
| OLD | NEW |