Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(122)

Side by Side Diff: cc/blink/web_layer_impl.h

Issue 1639363002: Move have_wheel_event_handlers to WebLayerTreeView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix tests Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | cc/blink/web_layer_impl.cc » ('j') | cc/blink/web_layer_impl.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 bool hasActiveAnimation() override; 117 bool hasActiveAnimation() override;
118 void setForceRenderSurface(bool force) override; 118 void setForceRenderSurface(bool force) override;
119 void setScrollPositionDouble(blink::WebDoublePoint position) override; 119 void setScrollPositionDouble(blink::WebDoublePoint position) override;
120 blink::WebDoublePoint scrollPositionDouble() const override; 120 blink::WebDoublePoint scrollPositionDouble() const override;
121 void setScrollCompensationAdjustment(blink::WebDoublePoint position) override; 121 void setScrollCompensationAdjustment(blink::WebDoublePoint position) override;
122 void setScrollClipLayer(blink::WebLayer* clip_layer) override; 122 void setScrollClipLayer(blink::WebLayer* clip_layer) override;
123 bool scrollable() const override; 123 bool scrollable() const override;
124 void setUserScrollable(bool horizontal, bool vertical) override; 124 void setUserScrollable(bool horizontal, bool vertical) override;
125 bool userScrollableHorizontal() const override; 125 bool userScrollableHorizontal() const override;
126 bool userScrollableVertical() const override; 126 bool userScrollableVertical() const override;
127 void setHaveWheelEventHandlers(bool have_wheel_event_handlers) override;
128 bool haveWheelEventHandlers() const override; 127 bool haveWheelEventHandlers() const override;
129 void setHaveScrollEventHandlers(bool have_scroll_event_handlers) override; 128 void setHaveScrollEventHandlers(bool have_scroll_event_handlers) override;
130 bool haveScrollEventHandlers() const override; 129 bool haveScrollEventHandlers() const override;
131 void addMainThreadScrollingReasons( 130 void addMainThreadScrollingReasons(
132 uint32_t main_thread_scrolling_reasons) override; 131 uint32_t main_thread_scrolling_reasons) override;
133 void clearMainThreadScrollingReasons() override; 132 void clearMainThreadScrollingReasons() override;
134 bool shouldScrollOnMainThread() const override; 133 bool shouldScrollOnMainThread() const override;
135 void setNonFastScrollableRegion( 134 void setNonFastScrollableRegion(
136 const blink::WebVector<blink::WebRect>& region) override; 135 const blink::WebVector<blink::WebRect>& region) override;
137 blink::WebVector<blink::WebRect> nonFastScrollableRegion() const override; 136 blink::WebVector<blink::WebRect> nonFastScrollableRegion() const override;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 168
170 private: 169 private:
171 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_; 170 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_;
172 171
173 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); 172 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl);
174 }; 173 };
175 174
176 } // namespace cc_blink 175 } // namespace cc_blink
177 176
178 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ 177 #endif // CC_BLINK_WEB_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | cc/blink/web_layer_impl.cc » ('j') | cc/blink/web_layer_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698