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

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

Issue 2854683002: Send a GSB to main thread before switching to it in the middle of scrolling. (Closed)
Patch Set: Created 3 years, 7 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 | « ui/events/blink/input_handler_proxy.cc ('k') | ui/events/blink/input_handler_proxy_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_CLIENT_H_ 5 #ifndef UI_EVENTS_BLINK_INPUT_HANDLER_PROXY_CLIENT_H_
6 #define UI_EVENTS_BLINK_INPUT_HANDLER_PROXY_CLIENT_H_ 6 #define UI_EVENTS_BLINK_INPUT_HANDLER_PROXY_CLIENT_H_
7 7
8 #include "ui/events/blink/web_input_event_traits.h" 8 #include "ui/events/blink/web_input_event_traits.h"
9 9
10 namespace blink { 10 namespace blink {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 virtual void DidOverscroll( 48 virtual void DidOverscroll(
49 const gfx::Vector2dF& accumulated_overscroll, 49 const gfx::Vector2dF& accumulated_overscroll,
50 const gfx::Vector2dF& latest_overscroll_delta, 50 const gfx::Vector2dF& latest_overscroll_delta,
51 const gfx::Vector2dF& current_fling_velocity, 51 const gfx::Vector2dF& current_fling_velocity,
52 const gfx::PointF& causal_event_viewport_point) = 0; 52 const gfx::PointF& causal_event_viewport_point) = 0;
53 53
54 virtual void DidStopFlinging() = 0; 54 virtual void DidStopFlinging() = 0;
55 55
56 virtual void DidAnimateForInput() = 0; 56 virtual void DidAnimateForInput() = 0;
57 57
58 // Used to send a GSB to the main thread when the wheel scroll latching is
59 // enabled and the scrolling should switch to the main thread.
60 virtual void GenerateScrollBeginAndSendToMainThread(
61 const blink::WebGestureEvent& update_event) = 0;
62
58 protected: 63 protected:
59 virtual ~InputHandlerProxyClient() {} 64 virtual ~InputHandlerProxyClient() {}
60 }; 65 };
61 66
62 } // namespace ui 67 } // namespace ui
63 68
64 #endif // UI_EVENTS_BLINK_INPUT_HANDLER_PROXY_CLIENT_H_ 69 #endif // UI_EVENTS_BLINK_INPUT_HANDLER_PROXY_CLIENT_H_
OLDNEW
« no previous file with comments | « ui/events/blink/input_handler_proxy.cc ('k') | ui/events/blink/input_handler_proxy_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698