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

Unified Diff: content/browser/renderer_host/render_widget_host_impl.h

Issue 2317253005: SourceEventType added to LatencyInfo (Closed)
Patch Set: Used a switch-case to set the SourceEventType in latencyInfo. 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_widget_host_impl.h
diff --git a/content/browser/renderer_host/render_widget_host_impl.h b/content/browser/renderer_host/render_widget_host_impl.h
index 03da6a4504a9774b86a5d2d314b5a5019ad7e96f..8fcc08ca4981a3cdd1e1cfb9de2d3789e236d235 100644
--- a/content/browser/renderer_host/render_widget_host_impl.h
+++ b/content/browser/renderer_host/render_widget_host_impl.h
@@ -316,9 +316,9 @@ class CONTENT_EXPORT RenderWidgetHostImpl : public RenderWidgetHost,
void ForwardGestureEventWithLatencyInfo(
const blink::WebGestureEvent& gesture_event,
const ui::LatencyInfo& ui_latency) override;
- void ForwardTouchEventWithLatencyInfo(
+ virtual void ForwardTouchEventWithLatencyInfo(
const blink::WebTouchEvent& touch_event,
- const ui::LatencyInfo& ui_latency);
+ const ui::LatencyInfo& ui_latency); // Virtual for testing.
void ForwardMouseEventWithLatencyInfo(
const blink::WebMouseEvent& mouse_event,
const ui::LatencyInfo& ui_latency);

Powered by Google App Engine
This is Rietveld 408576698