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

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

Issue 1577263004: Communicate whether passive event listeners exist to cc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master_wheel_passive_listeners
Patch Set: Fix Android/ChromeOS build problems with bit packed enum class 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/layers/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; 127 void setTouchEventListenerProperties(
128 bool haveWheelEventHandlers() const override; 128 blink::WebEventListenerProperties touch_event_properties) override;
129 blink::WebEventListenerProperties touchEventListenerProperties()
130 const override;
131 void setWheelEventListenerProperties(
132 blink::WebEventListenerProperties wheel_event_properties) override;
133 blink::WebEventListenerProperties wheelEventListenerProperties()
134 const override;
129 void setHaveScrollEventHandlers(bool have_scroll_event_handlers) override; 135 void setHaveScrollEventHandlers(bool have_scroll_event_handlers) override;
130 bool haveScrollEventHandlers() const override; 136 bool haveScrollEventHandlers() const override;
131 void setShouldScrollOnMainThread(bool scroll_on_main) override; 137 void setShouldScrollOnMainThread(bool scroll_on_main) override;
132 bool shouldScrollOnMainThread() const override; 138 bool shouldScrollOnMainThread() const override;
133 void setNonFastScrollableRegion( 139 void setNonFastScrollableRegion(
134 const blink::WebVector<blink::WebRect>& region) override; 140 const blink::WebVector<blink::WebRect>& region) override;
135 blink::WebVector<blink::WebRect> nonFastScrollableRegion() const override; 141 blink::WebVector<blink::WebRect> nonFastScrollableRegion() const override;
136 void setTouchEventHandlerRegion( 142 void setTouchEventHandlerRegion(
137 const blink::WebVector<blink::WebRect>& region) override; 143 const blink::WebVector<blink::WebRect>& region) override;
138 blink::WebVector<blink::WebRect> touchEventHandlerRegion() const override; 144 blink::WebVector<blink::WebRect> touchEventHandlerRegion() const override;
(...skipping 28 matching lines...) Expand all
167 173
168 private: 174 private:
169 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_; 175 scoped_ptr<WebToCCAnimationDelegateAdapter> animation_delegate_adapter_;
170 176
171 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl); 177 DISALLOW_COPY_AND_ASSIGN(WebLayerImpl);
172 }; 178 };
173 179
174 } // namespace cc_blink 180 } // namespace cc_blink
175 181
176 #endif // CC_BLINK_WEB_LAYER_IMPL_H_ 182 #endif // CC_BLINK_WEB_LAYER_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | cc/blink/web_layer_impl.cc » ('j') | cc/layers/layer_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698