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

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

Issue 9617027: Chromoting: Implemented security attention sequence (SAS) emulation on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 8 years, 9 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/sas_injector_win.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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef REMOTING_HOST_SESSION_EVENT_EXECUTOR_WIN_H_
6 #define REMOTING_HOST_SESSION_EVENT_EXECUTOR_WIN_H_
7
8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h"
10 #include "ipc/ipc_channel.h"
11
12 #include "remoting/host/event_executor.h"
13 #include "remoting/protocol/input_stub.h"
14
15 class MessageLoop;
16
17 namespace base {
18 class MessageLoopProxy;
19 } // namespace base
20
21 namespace IPC {
22 class ChannelProxy;
23 } // namespace IPC
24
25 namespace remoting {
26
27 class SessionEventExecutorWin : public protocol::InputStub,
28 public IPC::Channel::Listener {
29 public:
30 SessionEventExecutorWin(MessageLoop* message_loop,
31 base::MessageLoopProxy* io_message_loop,
32 scoped_ptr<protocol::InputStub> nested_executor);
33 ~SessionEventExecutorWin();
34
35 // protocol::InputStub implementation.
36 virtual void InjectKeyEvent(const protocol::KeyEvent& event) OVERRIDE;
37 virtual void InjectMouseEvent(const protocol::MouseEvent& event) OVERRIDE;
38
39 // IPC::Channel::Listener implementation.
40 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
41
42 private:
43 // Pointer to the next event executor.
44 scoped_ptr<protocol::InputStub> nested_executor_;
45
46 MessageLoop* message_loop_;
47
48 // The Chromoting IPC channel connecting the host with the service.
49 scoped_ptr<IPC::ChannelProxy> chromoting_channel_;
50
51 bool scroll_pressed_;
52
53 DISALLOW_COPY_AND_ASSIGN(SessionEventExecutorWin);
54 };
55
56 } // namespace remoting
57
58 #endif // REMOTING_HOST_SESSION_EVENT_EXECUTOR_WIN_H_
OLDNEW
« no previous file with comments | « remoting/host/sas_injector_win.cc ('k') | remoting/host/session_event_executor_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698