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

Unified Diff: remoting/host/event_executor_mac.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_mac.h
diff --git a/remoting/host/event_executor_mac.h b/remoting/host/event_executor_mac.h
index 758ccc04389887658534c9535e95bdc30b020179..66288a0b3cada8d2e9ad70652db64bc716cfd872 100644
--- a/remoting/host/event_executor_mac.h
+++ b/remoting/host/event_executor_mac.h
@@ -16,14 +16,14 @@ namespace remoting {
// A class to generate events on Mac.
class EventExecutorMac : public protocol::InputStub {
public:
- EventExecutorMac(MessageLoop* message_loop, Capturer* capturer);
+ EventExecutorMac(MessageLoopForUI* message_loop, Capturer* capturer);
virtual ~EventExecutorMac();
virtual void InjectKeyEvent(const protocol::KeyEvent* event, Task* done);
virtual void InjectMouseEvent(const protocol::MouseEvent* event, Task* done);
private:
- MessageLoop* message_loop_;
+ MessageLoopForUI* message_loop_;
Capturer* capturer_;
DISALLOW_COPY_AND_ASSIGN(EventExecutorMac);

Powered by Google App Engine
This is Rietveld 408576698