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

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

Issue 6780014: Clean up remoting project (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: got rid of ref counting on user authenticator Created 9 years, 8 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
« 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef REMOTING_HOST_EVENT_EXECUTOR_MAC_H_
6 #define REMOTING_HOST_EVENT_EXECUTOR_MAC_H_
7
8 #include <vector>
9
10 #include "base/basictypes.h"
11 #include "remoting/host/event_executor.h"
12 #include "remoting/protocol/input_stub.h"
13
14 namespace remoting {
15
16 // A class to generate events on Mac.
17 class EventExecutorMac : public protocol::InputStub {
18 public:
19 EventExecutorMac(MessageLoopForUI* message_loop, Capturer* capturer);
20 virtual ~EventExecutorMac();
21
22 virtual void InjectKeyEvent(const protocol::KeyEvent* event, Task* done);
23 virtual void InjectMouseEvent(const protocol::MouseEvent* event, Task* done);
24
25 private:
26 MessageLoopForUI* message_loop_;
27 Capturer* capturer_;
28 int last_x_, last_y_;
29 int modifiers_, mouse_buttons_;
30
31 DISALLOW_COPY_AND_ASSIGN(EventExecutorMac);
32 };
33
34 } // namespace remoting
35
36 #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