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

Side by Side Diff: ui/events/blink/input_handler_proxy.h

Issue 2362863003: Handle touchpad flings with passive event listeners on compositor thread. (Closed)
Patch Set: Created 4 years, 2 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 UI_EVENTS_BLINK_INPUT_HANDLER_PROXY_H_ 5 #ifndef UI_EVENTS_BLINK_INPUT_HANDLER_PROXY_H_
6 #define UI_EVENTS_BLINK_INPUT_HANDLER_PROXY_H_ 6 #define UI_EVENTS_BLINK_INPUT_HANDLER_PROXY_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/containers/hash_tables.h" 10 #include "base/containers/hash_tables.h"
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 protected: 93 protected:
94 void RecordMainThreadScrollingReasons(blink::WebGestureDevice device, 94 void RecordMainThreadScrollingReasons(blink::WebGestureDevice device,
95 uint32_t reasons); 95 uint32_t reasons);
96 96
97 private: 97 private:
98 friend class test::InputHandlerProxyTest; 98 friend class test::InputHandlerProxyTest;
99 99
100 // Helper functions for handling more complicated input events. 100 // Helper functions for handling more complicated input events.
101 EventDisposition HandleMouseWheel( 101 EventDisposition HandleMouseWheel(
102 const blink::WebMouseWheelEvent& event); 102 const blink::WebMouseWheelEvent& event);
103 EventDisposition ScrollByMouseWheel(const blink::WebMouseWheelEvent& event); 103 EventDisposition ScrollByMouseWheel(
104 const blink::WebMouseWheelEvent& event,
105 cc::EventListenerProperties listener_properties);
104 EventDisposition HandleGestureScrollBegin( 106 EventDisposition HandleGestureScrollBegin(
105 const blink::WebGestureEvent& event); 107 const blink::WebGestureEvent& event);
106 EventDisposition HandleGestureScrollUpdate( 108 EventDisposition HandleGestureScrollUpdate(
107 const blink::WebGestureEvent& event); 109 const blink::WebGestureEvent& event);
108 EventDisposition HandleGestureScrollEnd( 110 EventDisposition HandleGestureScrollEnd(
109 const blink::WebGestureEvent& event); 111 const blink::WebGestureEvent& event);
110 EventDisposition HandleGestureFlingStart( 112 EventDisposition HandleGestureFlingStart(
111 const blink::WebGestureEvent& event); 113 const blink::WebGestureEvent& event);
112 EventDisposition HandleTouchStart(const blink::WebTouchEvent& event); 114 EventDisposition HandleTouchStart(const blink::WebTouchEvent& event);
113 EventDisposition HandleTouchMove(const blink::WebTouchEvent& event); 115 EventDisposition HandleTouchMove(const blink::WebTouchEvent& event);
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 int32_t touch_start_result_; 211 int32_t touch_start_result_;
210 212
211 base::TimeTicks last_fling_animate_time_; 213 base::TimeTicks last_fling_animate_time_;
212 214
213 DISALLOW_COPY_AND_ASSIGN(InputHandlerProxy); 215 DISALLOW_COPY_AND_ASSIGN(InputHandlerProxy);
214 }; 216 };
215 217
216 } // namespace ui 218 } // namespace ui
217 219
218 #endif // UI_EVENTS_BLINK_INPUT_HANDLER_PROXY_H_ 220 #endif // UI_EVENTS_BLINK_INPUT_HANDLER_PROXY_H_
OLDNEW
« no previous file with comments | « content/renderer/mus/compositor_mus_connection_unittest.cc ('k') | ui/events/blink/input_handler_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698