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

Unified Diff: remoting/host/event_executor_mac.cc

Issue 6489031: Run event executor on the ui thread to remove the need to explicitly XFlush() the XTest calls. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Removed unused gtk dependency. Created 9 years, 10 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: remoting/host/event_executor_mac.cc
diff --git a/remoting/host/event_executor_mac.cc b/remoting/host/event_executor_mac.cc
index 37041a80b87f5e4922be352e622ec9ced44364ac..71a9edaf41868de624e32abc72ad27789344a195 100644
--- a/remoting/host/event_executor_mac.cc
+++ b/remoting/host/event_executor_mac.cc
@@ -14,7 +14,7 @@ using protocol::MouseEvent;
using protocol::KeyEvent;
EventExecutorMac::EventExecutorMac(
- MessageLoop* message_loop, Capturer* capturer)
+ MessageLoopForUI* message_loop, Capturer* capturer)
: message_loop_(message_loop),
capturer_(capturer) {
}
@@ -32,7 +32,7 @@ void EventExecutorMac::InjectMouseEvent(const MouseEvent* event, Task* done) {
delete done;
}
-protocol::InputStub* CreateEventExecutor(MessageLoop* message_loop,
+protocol::InputStub* CreateEventExecutor(MessageLoopForUI* message_loop,
Capturer* capturer) {
return new EventExecutorMac(message_loop, capturer);
}

Powered by Google App Engine
This is Rietveld 408576698