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

Side by Side Diff: remoting/host/win/session_desktop_environment.h

Issue 12760012: Rename EventExecutor to InputInjector. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Replace some missed occurrences and remove unused include. Created 7 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/remoting_me2me_host.cc ('k') | remoting/host/win/session_desktop_environment.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_WIN_SESSION_DESKTOP_ENVIRONMENT_H_ 5 #ifndef REMOTING_HOST_WIN_SESSION_DESKTOP_ENVIRONMENT_H_
6 #define REMOTING_HOST_WIN_SESSION_DESKTOP_ENVIRONMENT_H_ 6 #define REMOTING_HOST_WIN_SESSION_DESKTOP_ENVIRONMENT_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "remoting/host/me2me_desktop_environment.h" 12 #include "remoting/host/me2me_desktop_environment.h"
13 13
14 namespace remoting { 14 namespace remoting {
15 15
16 // Used to create audio/video capturers and event executor that are compatible 16 // Used to create audio/video capturers and event executor that are compatible
17 // with Windows sessions. 17 // with Windows sessions.
18 class SessionDesktopEnvironment : public Me2MeDesktopEnvironment { 18 class SessionDesktopEnvironment : public Me2MeDesktopEnvironment {
19 public: 19 public:
20 virtual ~SessionDesktopEnvironment(); 20 virtual ~SessionDesktopEnvironment();
21 21
22 // DesktopEnvironment implementation. 22 // DesktopEnvironment implementation.
23 virtual scoped_ptr<EventExecutor> CreateEventExecutor( 23 virtual scoped_ptr<InputInjector> CreateInputInjector(
24 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, 24 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner,
25 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) OVERRIDE; 25 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) OVERRIDE;
26 26
27 private: 27 private:
28 friend class SessionDesktopEnvironmentFactory; 28 friend class SessionDesktopEnvironmentFactory;
29 explicit SessionDesktopEnvironment(const base::Closure& inject_sas); 29 explicit SessionDesktopEnvironment(const base::Closure& inject_sas);
30 30
31 // Used to ask the daemon to inject Secure Attention Sequence. 31 // Used to ask the daemon to inject Secure Attention Sequence.
32 base::Closure inject_sas_; 32 base::Closure inject_sas_;
33 33
(...skipping 14 matching lines...) Expand all
48 private: 48 private:
49 // Used to ask the daemon to inject Secure Attention Sequence. 49 // Used to ask the daemon to inject Secure Attention Sequence.
50 base::Closure inject_sas_; 50 base::Closure inject_sas_;
51 51
52 DISALLOW_COPY_AND_ASSIGN(SessionDesktopEnvironmentFactory); 52 DISALLOW_COPY_AND_ASSIGN(SessionDesktopEnvironmentFactory);
53 }; 53 };
54 54
55 } // namespace remoting 55 } // namespace remoting
56 56
57 #endif // REMOTING_HOST_WIN_SESSION_DESKTOP_ENVIRONMENT_H_ 57 #endif // REMOTING_HOST_WIN_SESSION_DESKTOP_ENVIRONMENT_H_
OLDNEW
« no previous file with comments | « remoting/host/remoting_me2me_host.cc ('k') | remoting/host/win/session_desktop_environment.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698