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

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

Issue 10832068: Moving Windows-only files: remoting/host -> remoting/host/win. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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/scoped_thread_desktop_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
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"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "ipc/ipc_channel.h" 13 #include "ipc/ipc_channel.h"
14
15 #include "remoting/host/event_executor.h" 14 #include "remoting/host/event_executor.h"
16 #include "remoting/host/scoped_thread_desktop_win.h" 15 #include "remoting/host/win/scoped_thread_desktop.h"
17 #include "remoting/protocol/host_event_stub.h" 16 #include "remoting/protocol/host_event_stub.h"
18 17
19 namespace base { 18 namespace base {
20 class SingleThreadTaskRunner; 19 class SingleThreadTaskRunner;
21 } // namespace base 20 } // namespace base
22 21
23 namespace IPC { 22 namespace IPC {
24 class ChannelProxy; 23 class ChannelProxy;
25 } // namespace IPC 24 } // namespace IPC
26 25
(...skipping 25 matching lines...) Expand all
52 private: 51 private:
53 // Switches to the desktop receiving a user input if different from 52 // Switches to the desktop receiving a user input if different from
54 // the current one. 53 // the current one.
55 void SwitchToInputDesktop(); 54 void SwitchToInputDesktop();
56 55
57 // Pointer to the next event executor. 56 // Pointer to the next event executor.
58 scoped_ptr<EventExecutor> nested_executor_; 57 scoped_ptr<EventExecutor> nested_executor_;
59 58
60 scoped_refptr<base::SingleThreadTaskRunner> task_runner_; 59 scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
61 60
62 ScopedThreadDesktopWin desktop_; 61 ScopedThreadDesktop desktop_;
63 62
64 // The Chromoting IPC channel connecting the host with the service. 63 // The Chromoting IPC channel connecting the host with the service.
65 scoped_ptr<IPC::ChannelProxy> chromoting_channel_; 64 scoped_ptr<IPC::ChannelProxy> chromoting_channel_;
66 65
67 // Keys currently pressed by the client, used to detect Ctrl-Alt-Del. 66 // Keys currently pressed by the client, used to detect Ctrl-Alt-Del.
68 std::set<uint32> pressed_keys_; 67 std::set<uint32> pressed_keys_;
69 68
70 base::WeakPtrFactory<SessionEventExecutorWin> weak_ptr_factory_; 69 base::WeakPtrFactory<SessionEventExecutorWin> weak_ptr_factory_;
71 base::WeakPtr<SessionEventExecutorWin> weak_ptr_; 70 base::WeakPtr<SessionEventExecutorWin> weak_ptr_;
72 71
73 DISALLOW_COPY_AND_ASSIGN(SessionEventExecutorWin); 72 DISALLOW_COPY_AND_ASSIGN(SessionEventExecutorWin);
74 }; 73 };
75 74
76 } // namespace remoting 75 } // namespace remoting
77 76
78 #endif // REMOTING_HOST_SESSION_EVENT_EXECUTOR_WIN_H_ 77 #endif // REMOTING_HOST_SESSION_EVENT_EXECUTOR_WIN_H_
OLDNEW
« no previous file with comments | « remoting/host/scoped_thread_desktop_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