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

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..c8814063829b9af4c97a345751d064200513cf26 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& coalesced_event() 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_;
};
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_mac_unittest.mm ('k') | content/common/input/event_with_latency_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698