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

Unified Diff: content/common/input/event_with_latency_info.h

Issue 2621303004: Keep track of coalesced events in main thread event queue (Closed)
Patch Set: Improve MainThreadEventQueue unittests Created 3 years, 11 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/common/input/event_with_latency_info.h
diff --git a/content/common/input/event_with_latency_info.h b/content/common/input/event_with_latency_info.h
index 77be4786c12565296c76be54a25c5994c5312809..f00051f1080b607008b5c6400cd38efd2a7aa390 100644
--- a/content/common/input/event_with_latency_info.h
+++ b/content/common/input/event_with_latency_info.h
@@ -27,13 +27,14 @@ class ScopedWebInputEventWithLatencyInfo {
WARN_UNUSED_RESULT;
const blink::WebInputEvent& event() const;
+ const blink::WebCoalescedInputEvent& coalescedEvent() const;
blink::WebInputEvent& event();
const ui::LatencyInfo latencyInfo() const { return latency_; }
void CoalesceWith(const ScopedWebInputEventWithLatencyInfo& other);
private:
- blink::WebScopedInputEvent event_;
+ blink::WebScopedCoalescedInputEvent event_;
mutable ui::LatencyInfo latency_;
};

Powered by Google App Engine
This is Rietveld 408576698