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

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

Issue 2813683002: Allow MainThreadEventQueue to call the RenderWidget directly. (Closed)
Patch Set: Fix style nits Created 3 years, 8 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/renderer/input/main_thread_event_queue_task.h
diff --git a/content/renderer/input/main_thread_event_queue_task.h b/content/renderer/input/main_thread_event_queue_task.h
index c8e5fda123ad57c5b5c66e6520b6403f995661f2..20d1647e2b7ca1b4c2a6cf4ce5484f047ebd7603 100644
--- a/content/renderer/input/main_thread_event_queue_task.h
+++ b/content/renderer/input/main_thread_event_queue_task.h
@@ -11,7 +11,7 @@
namespace content {
-class MainThreadEventQueueClient;
+class MainThreadEventQueue;
// A work item to execute from the main thread event queue.
// The MainThreadEventQueue supports 2 types of tasks (subclasses):
@@ -38,15 +38,7 @@ class MainThreadEventQueueTask {
// Iteration of the list begins at the end of the queue (newest to oldest).
virtual FilterResult FilterNewEvent(const MainThreadEventQueueTask&) = 0;
virtual bool IsWebInputEvent() const = 0;
- virtual void Dispatch(int routing_id, MainThreadEventQueueClient*) = 0;
-
- virtual void EventHandled(
- int routing_id,
- blink::scheduler::RendererScheduler* renderer_scheduler,
- MainThreadEventQueueClient* client,
- blink::WebInputEvent::Type type,
- blink::WebInputEventResult result,
- InputEventAckState ack_result) = 0;
+ virtual void Dispatch(MainThreadEventQueue*) = 0;
};
} // namespace content
« no previous file with comments | « content/renderer/input/main_thread_event_queue.cc ('k') | content/renderer/input/main_thread_event_queue_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698