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

Unified Diff: trunk/src/content/renderer/input/input_event_filter.h

Issue 488273004: Revert 290845 "Forward input and compositing tasks to the Blink ..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 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
Index: trunk/src/content/renderer/input/input_event_filter.h
===================================================================
--- trunk/src/content/renderer/input/input_event_filter.h (revision 290956)
+++ trunk/src/content/renderer/input/input_event_filter.h (working copy)
@@ -18,7 +18,6 @@
namespace base {
class MessageLoopProxy;
-class SingleThreadTaskRunner;
}
namespace IPC {
@@ -39,10 +38,8 @@
class CONTENT_EXPORT InputEventFilter : public InputHandlerManagerClient,
public IPC::MessageFilter {
public:
- InputEventFilter(
- IPC::Listener* main_listener,
- const scoped_refptr<base::SingleThreadTaskRunner>& main_task_runner,
- const scoped_refptr<base::MessageLoopProxy>& target_loop);
+ InputEventFilter(IPC::Listener* main_listener,
+ const scoped_refptr<base::MessageLoopProxy>& target_loop);
// The |handler| is invoked on the thread associated with |target_loop| to
// handle input events matching the filtered routes.
@@ -76,7 +73,7 @@
void SendMessage(scoped_ptr<IPC::Message> message);
void SendMessageOnIOThread(scoped_ptr<IPC::Message> message);
- scoped_refptr<base::SingleThreadTaskRunner> main_task_runner_;
+ scoped_refptr<base::MessageLoopProxy> main_loop_;
IPC::Listener* main_listener_;
// The sender_ only gets invoked on the thread corresponding to io_loop_.
« no previous file with comments | « trunk/src/content/renderer/gpu/render_widget_compositor.cc ('k') | trunk/src/content/renderer/input/input_event_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698