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

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: Rebase 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 4af4aec533455460ffe2a9d7963e85ce20ecba83..b971ec967b73ba6b67c5ab70534394ecb21251f4 100644
--- a/content/common/input/event_with_latency_info.h
+++ b/content/common/input/event_with_latency_info.h
@@ -28,13 +28,14 @@ class ScopedWebInputEventWithLatencyInfo {
WARN_UNUSED_RESULT;
const blink::WebInputEvent& event() const;
+ const blink::WebCoalescedInputEvent& coalescedEvent() const;
dcheng 2017/01/23 19:38:58 Nit: Per Chromium naming conventions, this should
Navid Zolghadr 2017/01/23 19:44:50 So is the latencyInfo() also incorrect?
dcheng 2017/01/23 20:35:47 Yes, but a bit unrelated, so I didn't mention it
Navid Zolghadr 2017/01/23 21:42:04 Done.
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