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

Side by Side Diff: content/browser/renderer_host/render_widget_host_input_event_router.h

Issue 2393783005: re-land the "SourceEventType added to LatencyInfo." (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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_INPUT_EVENT_ROUTER_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_INPUT_EVENT_ROUTER_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_INPUT_EVENT_ROUTER_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_INPUT_EVENT_ROUTER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <deque> 10 #include <deque>
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 class CONTENT_EXPORT RenderWidgetHostInputEventRouter 50 class CONTENT_EXPORT RenderWidgetHostInputEventRouter
51 : public RenderWidgetHostViewBaseObserver { 51 : public RenderWidgetHostViewBaseObserver {
52 public: 52 public:
53 RenderWidgetHostInputEventRouter(); 53 RenderWidgetHostInputEventRouter();
54 ~RenderWidgetHostInputEventRouter() final; 54 ~RenderWidgetHostInputEventRouter() final;
55 55
56 void OnRenderWidgetHostViewBaseDestroyed( 56 void OnRenderWidgetHostViewBaseDestroyed(
57 RenderWidgetHostViewBase* view) override; 57 RenderWidgetHostViewBase* view) override;
58 58
59 void RouteMouseEvent(RenderWidgetHostViewBase* root_view, 59 void RouteMouseEvent(RenderWidgetHostViewBase* root_view,
60 blink::WebMouseEvent* event); 60 blink::WebMouseEvent* event,
61 const ui::LatencyInfo& latency);
61 void RouteMouseWheelEvent(RenderWidgetHostViewBase* root_view, 62 void RouteMouseWheelEvent(RenderWidgetHostViewBase* root_view,
62 blink::WebMouseWheelEvent* event); 63 blink::WebMouseWheelEvent* event,
64 const ui::LatencyInfo& latency);
63 void RouteGestureEvent(RenderWidgetHostViewBase* root_view, 65 void RouteGestureEvent(RenderWidgetHostViewBase* root_view,
64 blink::WebGestureEvent* event, 66 blink::WebGestureEvent* event,
65 const ui::LatencyInfo& latency); 67 const ui::LatencyInfo& latency);
66 void RouteTouchEvent(RenderWidgetHostViewBase* root_view, 68 void RouteTouchEvent(RenderWidgetHostViewBase* root_view,
67 blink::WebTouchEvent *event, 69 blink::WebTouchEvent *event,
68 const ui::LatencyInfo& latency); 70 const ui::LatencyInfo& latency);
69 71
70 void BubbleScrollEvent(RenderWidgetHostViewBase* target_view, 72 void BubbleScrollEvent(RenderWidgetHostViewBase* target_view,
71 const blink::WebGestureEvent& event); 73 const blink::WebGestureEvent& event);
72 void CancelScrollBubbling(RenderWidgetHostViewBase* target_view); 74 void CancelScrollBubbling(RenderWidgetHostViewBase* target_view);
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostInputEventRouter); 178 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostInputEventRouter);
177 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest, 179 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest,
178 InputEventRouterGestureTargetQueueTest); 180 InputEventRouterGestureTargetQueueTest);
179 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest, 181 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest,
180 InputEventRouterTouchpadGestureTargetTest); 182 InputEventRouterTouchpadGestureTargetTest);
181 }; 183 };
182 184
183 } // namespace content 185 } // namespace content
184 186
185 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_INPUT_EVENT_ROUTER_H _ 187 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_INPUT_EVENT_ROUTER_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698