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

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

Issue 10413060: [Chromoting] Let the Windows IT2Me host send clipboard events to the client. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Correct fix. Created 8 years, 6 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/host_mock_objects.cc ('k') | remoting/host/session_event_executor_win.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) 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
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
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_
OLDNEW
« no previous file with comments | « remoting/host/host_mock_objects.cc ('k') | remoting/host/session_event_executor_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698