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

Unified Diff: content/renderer/render_view_impl.h

Issue 2479123003: WIP Add getCoalescedEvents API using vector of WebInputEvents (Closed)
Patch Set: Creating CoalescedWebInputEvent Created 4 years, 1 month 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/renderer/render_view_impl.h
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index 02c975fb9b2877dd584cf90070470236346b06c0..75e997bc8ef2d015eddc13af01d09650bdd90ae2 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -635,9 +635,11 @@ class CONTENT_EXPORT RenderViewImpl
void UpdateWebViewWithDeviceScaleFactor();
// Send the appropriate ack to be able discard this input event message.
- void OnDiscardInputEvent(const blink::WebInputEvent* input_event,
- const ui::LatencyInfo& latency_info,
- InputEventDispatchType dispatch_type);
+ void OnDiscardInputEvent(
+ const blink::WebInputEvent* input_event,
+ const std::vector<const blink::WebInputEvent*>& coalescedEvents,
+ const ui::LatencyInfo& latency_info,
+ InputEventDispatchType dispatch_type);
// ---------------------------------------------------------------------------
// ADDING NEW FUNCTIONS? Please keep private functions alphabetized and put

Powered by Google App Engine
This is Rietveld 408576698