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

Unified Diff: content/renderer/input/main_thread_event_queue.h

Issue 2240473002: Give MainThreadEventQueue a mutable WebInputEvent. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed consts Created 4 years, 4 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
« no previous file with comments | « content/renderer/input/input_event_filter.cc ('k') | content/renderer/input/main_thread_event_queue.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/input/main_thread_event_queue.h
diff --git a/content/renderer/input/main_thread_event_queue.h b/content/renderer/input/main_thread_event_queue.h
index 6b0bd9bd2818e0dfc88daf2dd53c39834312ac8c..9c2d2af9c701846470ab5ae500fdbd84084902ae 100644
--- a/content/renderer/input/main_thread_event_queue.h
+++ b/content/renderer/input/main_thread_event_queue.h
@@ -19,7 +19,7 @@ namespace content {
class EventWithDispatchType : public ScopedWebInputEventWithLatencyInfo {
public:
- EventWithDispatchType(const blink::WebInputEvent& event,
+ EventWithDispatchType(ScopedWebInputEvent event,
const ui::LatencyInfo& latency,
InputEventDispatchType dispatch_type);
~EventWithDispatchType();
@@ -103,7 +103,7 @@ class CONTENT_EXPORT MainThreadEventQueue
// Called once the compositor has handled |event| and indicated that it is
// a non-blocking event to be queued to the main thread.
- bool HandleEvent(const blink::WebInputEvent* event,
+ bool HandleEvent(ScopedWebInputEvent event,
const ui::LatencyInfo& latency,
InputEventDispatchType dispatch_type,
InputEventAckState ack_result);
« no previous file with comments | « content/renderer/input/input_event_filter.cc ('k') | content/renderer/input/main_thread_event_queue.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698