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

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

Issue 2341873002: Handle touchpad flings with passive event listeners on compositor thread. (Closed)
Patch Set: Add dcheck for blimp Created 4 years, 3 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 protected: 100 protected:
101 void RecordMainThreadScrollingReasons(blink::WebGestureDevice device, 101 void RecordMainThreadScrollingReasons(blink::WebGestureDevice device,
102 uint32_t reasons); 102 uint32_t reasons);
103 103
104 private: 104 private:
105 friend class test::InputHandlerProxyTest; 105 friend class test::InputHandlerProxyTest;
106 106
107 // Helper functions for handling more complicated input events. 107 // Helper functions for handling more complicated input events.
108 EventDisposition HandleMouseWheel( 108 EventDisposition HandleMouseWheel(
109 const blink::WebMouseWheelEvent& event); 109 const blink::WebMouseWheelEvent& event);
110 EventDisposition ScrollByMouseWheel(const blink::WebMouseWheelEvent& event); 110 EventDisposition ScrollByMouseWheel(
111 const blink::WebMouseWheelEvent& event,
112 cc::EventListenerProperties listener_properties);
111 EventDisposition HandleGestureScrollBegin( 113 EventDisposition HandleGestureScrollBegin(
112 const blink::WebGestureEvent& event); 114 const blink::WebGestureEvent& event);
113 EventDisposition HandleGestureScrollUpdate( 115 EventDisposition HandleGestureScrollUpdate(
114 const blink::WebGestureEvent& event); 116 const blink::WebGestureEvent& event);
115 EventDisposition HandleGestureScrollEnd( 117 EventDisposition HandleGestureScrollEnd(
116 const blink::WebGestureEvent& event); 118 const blink::WebGestureEvent& event);
117 EventDisposition HandleGestureFlingStart( 119 EventDisposition HandleGestureFlingStart(
118 const blink::WebGestureEvent& event); 120 const blink::WebGestureEvent& event);
119 EventDisposition HandleTouchStart(const blink::WebTouchEvent& event); 121 EventDisposition HandleTouchStart(const blink::WebTouchEvent& event);
120 EventDisposition HandleTouchMove(const blink::WebTouchEvent& event); 122 EventDisposition HandleTouchMove(const blink::WebTouchEvent& event);
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 // bundled in the event ack, saving an IPC. Note that we must continue 226 // bundled in the event ack, saving an IPC. Note that we must continue
225 // supporting overscroll IPC notifications due to fling animation updates. 227 // supporting overscroll IPC notifications due to fling animation updates.
226 std::unique_ptr<DidOverscrollParams> current_overscroll_params_; 228 std::unique_ptr<DidOverscrollParams> current_overscroll_params_;
227 229
228 DISALLOW_COPY_AND_ASSIGN(InputHandlerProxy); 230 DISALLOW_COPY_AND_ASSIGN(InputHandlerProxy);
229 }; 231 };
230 232
231 } // namespace ui 233 } // namespace ui
232 234
233 #endif // UI_EVENTS_BLINK_INPUT_HANDLER_PROXY_H_ 235 #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