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

Unified Diff: remoting/host/event_executor_win.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_win.h
diff --git a/remoting/host/event_executor_win.h b/remoting/host/event_executor_win.h
index 4ba4aadf0d2782b3c12383ae670e2a25b4f0d3c3..1eebf33b95cfc8b4d4ce2feb967af6a00cf39263 100644
--- a/remoting/host/event_executor_win.h
+++ b/remoting/host/event_executor_win.h
@@ -20,7 +20,7 @@ class EventExecutorWinPimpl;
// A class to generate events on Windows.
class EventExecutorWin : public protocol::InputStub {
public:
- EventExecutorWin(MessageLoop* message_loop, Capturer* capturer);
+ EventExecutorWin(MessageLoopForUI* message_loop, Capturer* capturer);
virtual ~EventExecutorWin();
virtual void InjectKeyEvent(const protocol::KeyEvent* event, Task* done);
@@ -30,7 +30,7 @@ class EventExecutorWin : public protocol::InputStub {
void HandleKey(const protocol::KeyEvent* event);
void HandleMouse(const protocol::MouseEvent* event);
- MessageLoop* message_loop_;
+ MessageLoopForUI* message_loop_;
Capturer* capturer_;
DISALLOW_COPY_AND_ASSIGN(EventExecutorWin);

Powered by Google App Engine
This is Rietveld 408576698