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

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

Issue 2317253005: SourceEventType added to LatencyInfo (Closed)
Patch Set: Added a fake return to the end of EventTypeToLatencySourceEventType, for compilers that don't know … 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 54962187523715179e2eb7d485d13f6cd6bef5eb..4711fac648412dfaa494cf9bae36d80d09eef9c0 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