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

Side by Side Diff: remoting/host/event_executor.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef REMOTING_HOST_EVENT_EXECUTOR_H_ 5 #ifndef REMOTING_HOST_EVENT_EXECUTOR_H_
6 #define REMOTING_HOST_EVENT_EXECUTOR_H_ 6 #define REMOTING_HOST_EVENT_EXECUTOR_H_
7 7
8 class MessageLoop; 8 class MessageLoopForUI;
9 9
10 namespace remoting { 10 namespace remoting {
11 11
12 class Capturer; 12 class Capturer;
13 13
14 namespace protocol { 14 namespace protocol {
15 class InputStub; 15 class InputStub;
16 } // namespace protocol 16 } // namespace protocol
17 17
18 // Creates default event executor for the current platform. 18 // Creates default event executor for the current platform.
19 protocol::InputStub* CreateEventExecutor(MessageLoop* message_loop, 19 protocol::InputStub* CreateEventExecutor(MessageLoopForUI* message_loop,
20 Capturer* capturer); 20 Capturer* capturer);
21 21
22 } // namespace remoting 22 } // namespace remoting
23 23
24 #endif // REMOTING_HOST_EVENT_EXECUTOR_H_ 24 #endif // REMOTING_HOST_EVENT_EXECUTOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698