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

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

Issue 1923973002: Add UMA metric for tracking listeners for blocking touch while fling is happening (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change comments in histogram Created 4 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 namespace blink { 8 namespace blink {
9 class WebGestureCurve; 9 class WebGestureCurve;
10 struct WebActiveWheelFlingParameters; 10 struct WebActiveWheelFlingParameters;
(...skipping 20 matching lines...) Expand all
31 blink::WebGestureDevice device_source, 31 blink::WebGestureDevice device_source,
32 const blink::WebFloatPoint& velocity, 32 const blink::WebFloatPoint& velocity,
33 const blink::WebSize& cumulative_scroll) = 0; 33 const blink::WebSize& cumulative_scroll) = 0;
34 34
35 virtual void DidOverscroll( 35 virtual void DidOverscroll(
36 const gfx::Vector2dF& accumulated_overscroll, 36 const gfx::Vector2dF& accumulated_overscroll,
37 const gfx::Vector2dF& latest_overscroll_delta, 37 const gfx::Vector2dF& latest_overscroll_delta,
38 const gfx::Vector2dF& current_fling_velocity, 38 const gfx::Vector2dF& current_fling_velocity,
39 const gfx::PointF& causal_event_viewport_point) = 0; 39 const gfx::PointF& causal_event_viewport_point) = 0;
40 40
41 virtual void DidStartFlinging() = 0;
42
41 virtual void DidStopFlinging() = 0; 43 virtual void DidStopFlinging() = 0;
42 44
43 virtual void DidAnimateForInput() = 0; 45 virtual void DidAnimateForInput() = 0;
44 46
45 protected: 47 protected:
46 virtual ~InputHandlerProxyClient() {} 48 virtual ~InputHandlerProxyClient() {}
47 }; 49 };
48 50
49 } // namespace ui 51 } // namespace ui
50 52
51 #endif // UI_EVENTS_BLINK_INPUT_HANDLER_PROXY_CLIENT_H_ 53 #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