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

Unified Diff: remoting/host/event_executor_linux.h

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_linux.h
diff --git a/remoting/host/event_executor_linux.h b/remoting/host/event_executor_linux.h
index c20b06f264512149dc51e15722099027c4f65f83..8b61dd08d655b0d5a1fe71e83c18575650fd451d 100644
--- a/remoting/host/event_executor_linux.h
+++ b/remoting/host/event_executor_linux.h
@@ -20,7 +20,7 @@ class EventExecutorLinuxPimpl;
// A class to generate events on Linux.
class EventExecutorLinux : public protocol::InputStub {
public:
- EventExecutorLinux(MessageLoop* message_loop,
+ EventExecutorLinux(MessageLoopForUI* message_loop,
Capturer* capturer);
virtual ~EventExecutorLinux();
@@ -28,7 +28,7 @@ class EventExecutorLinux : public protocol::InputStub {
virtual void InjectMouseEvent(const protocol::MouseEvent* event, Task* done);
private:
- MessageLoop* message_loop_;
+ MessageLoopForUI* message_loop_;
Capturer* capturer_;
scoped_ptr<EventExecutorLinuxPimpl> pimpl_;

Powered by Google App Engine
This is Rietveld 408576698