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

Side by Side Diff: remoting/host/event_executor_mac.h

Issue 5298001: Use VP8 over PseudoTCP by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed EventExecutor class. Created 10 years, 1 month 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
« no previous file with comments | « remoting/host/event_executor_linux.cc ('k') | remoting/host/event_executor_mac.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_MAC_H_ 5 #ifndef REMOTING_HOST_EVENT_EXECUTOR_MAC_H_
6 #define REMOTING_HOST_EVENT_EXECUTOR_MAC_H_ 6 #define REMOTING_HOST_EVENT_EXECUTOR_MAC_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "remoting/host/event_executor.h"
11 #include "remoting/protocol/input_stub.h" 12 #include "remoting/protocol/input_stub.h"
12 13
13 class MessageLoop;
14
15 namespace remoting { 14 namespace remoting {
16 15
17 class Capturer;
18 class ChromotingClientMessage;
19
20 // A class to generate events on Mac. 16 // A class to generate events on Mac.
21 class EventExecutorMac : public protocol::InputStub { 17 class EventExecutorMac : public protocol::InputStub {
22 public: 18 public:
23 EventExecutorMac(MessageLoop* message_loop, Capturer* capturer); 19 EventExecutorMac(MessageLoop* message_loop, Capturer* capturer);
24 virtual ~EventExecutorMac(); 20 virtual ~EventExecutorMac();
25 21
26 virtual void InjectKeyEvent(const KeyEvent* event, Task* done); 22 virtual void InjectKeyEvent(const KeyEvent* event, Task* done);
27 virtual void InjectMouseEvent(const MouseEvent* event, Task* done); 23 virtual void InjectMouseEvent(const MouseEvent* event, Task* done);
28 24
29 private: 25 private:
30 MessageLoop* message_loop_; 26 MessageLoop* message_loop_;
31 Capturer* capturer_; 27 Capturer* capturer_;
32 28
33 DISALLOW_COPY_AND_ASSIGN(EventExecutorMac); 29 DISALLOW_COPY_AND_ASSIGN(EventExecutorMac);
34 }; 30 };
35 31
36 } // namespace remoting 32 } // namespace remoting
37 33
38 #endif // REMOTING_HOST_EVENT_EXECUTOR_MAC_H_ 34 #endif // REMOTING_HOST_EVENT_EXECUTOR_MAC_H_
OLDNEW
« no previous file with comments | « remoting/host/event_executor_linux.cc ('k') | remoting/host/event_executor_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698