OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_SESSION_EVENT_EXECUTOR_WIN_H_ | 5 #ifndef REMOTING_HOST_SESSION_EVENT_EXECUTOR_WIN_H_ |
6 #define REMOTING_HOST_SESSION_EVENT_EXECUTOR_WIN_H_ | 6 #define REMOTING_HOST_SESSION_EVENT_EXECUTOR_WIN_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 18 matching lines...) Expand all Loading... |
29 | 29 |
30 class SessionEventExecutorWin : public EventExecutor, | 30 class SessionEventExecutorWin : public EventExecutor, |
31 public IPC::Channel::Listener { | 31 public IPC::Channel::Listener { |
32 public: | 32 public: |
33 SessionEventExecutorWin(MessageLoop* message_loop, | 33 SessionEventExecutorWin(MessageLoop* message_loop, |
34 base::MessageLoopProxy* io_message_loop, | 34 base::MessageLoopProxy* io_message_loop, |
35 scoped_ptr<EventExecutor> nested_executor); | 35 scoped_ptr<EventExecutor> nested_executor); |
36 ~SessionEventExecutorWin(); | 36 ~SessionEventExecutorWin(); |
37 | 37 |
38 // EventExecutor implementation. | 38 // EventExecutor implementation. |
39 virtual void OnSessionStarted() OVERRIDE; | 39 virtual void OnSessionStarted( |
| 40 scoped_ptr<protocol::ClipboardStub> client_clipboard) OVERRIDE; |
40 virtual void OnSessionFinished() OVERRIDE; | 41 virtual void OnSessionFinished() OVERRIDE; |
41 | 42 |
42 // protocol::HostStub implementation. | 43 // protocol::HostStub implementation. |
43 virtual void InjectClipboardEvent( | 44 virtual void InjectClipboardEvent( |
44 const protocol::ClipboardEvent& event) OVERRIDE; | 45 const protocol::ClipboardEvent& event) OVERRIDE; |
45 virtual void InjectKeyEvent(const protocol::KeyEvent& event) OVERRIDE; | 46 virtual void InjectKeyEvent(const protocol::KeyEvent& event) OVERRIDE; |
46 virtual void InjectMouseEvent(const protocol::MouseEvent& event) OVERRIDE; | 47 virtual void InjectMouseEvent(const protocol::MouseEvent& event) OVERRIDE; |
47 | 48 |
48 // IPC::Channel::Listener implementation. | 49 // IPC::Channel::Listener implementation. |
49 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; | 50 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
(...skipping 15 matching lines...) Expand all Loading... |
65 | 66 |
66 // Keys currently pressed by the client, used to detect Ctrl-Alt-Del. | 67 // Keys currently pressed by the client, used to detect Ctrl-Alt-Del. |
67 std::set<uint32> pressed_keys_; | 68 std::set<uint32> pressed_keys_; |
68 | 69 |
69 DISALLOW_COPY_AND_ASSIGN(SessionEventExecutorWin); | 70 DISALLOW_COPY_AND_ASSIGN(SessionEventExecutorWin); |
70 }; | 71 }; |
71 | 72 |
72 } // namespace remoting | 73 } // namespace remoting |
73 | 74 |
74 #endif // REMOTING_HOST_SESSION_EVENT_EXECUTOR_WIN_H_ | 75 #endif // REMOTING_HOST_SESSION_EVENT_EXECUTOR_WIN_H_ |
OLD | NEW |