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

Side by Side Diff: remoting/host/basic_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 | « no previous file | remoting/host/basic_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_BASIC_DESKTOP_ENVIRONMENT_H_ 5 #ifndef REMOTING_HOST_BASIC_DESKTOP_ENVIRONMENT_H_
6 #define REMOTING_HOST_BASIC_DESKTOP_ENVIRONMENT_H_ 6 #define REMOTING_HOST_BASIC_DESKTOP_ENVIRONMENT_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/single_thread_task_runner.h" 11 #include "base/single_thread_task_runner.h"
12 #include "base/threading/non_thread_safe.h" 12 #include "base/threading/non_thread_safe.h"
13 #include "remoting/host/desktop_environment.h" 13 #include "remoting/host/desktop_environment.h"
14 14
15 namespace remoting { 15 namespace remoting {
16 16
17 // Used to create audio/video capturers and event executor that work with 17 // Used to create audio/video capturers and event executor that work with
18 // the local console. 18 // the local console.
19 class BasicDesktopEnvironment 19 class BasicDesktopEnvironment
20 : public base::NonThreadSafe, 20 : public base::NonThreadSafe,
21 public DesktopEnvironment { 21 public DesktopEnvironment {
22 public: 22 public:
23 virtual ~BasicDesktopEnvironment(); 23 virtual ~BasicDesktopEnvironment();
24 24
25 // DesktopEnvironment implementation. 25 // DesktopEnvironment implementation.
26 virtual scoped_ptr<AudioCapturer> CreateAudioCapturer( 26 virtual scoped_ptr<AudioCapturer> CreateAudioCapturer(
27 scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner) OVERRIDE; 27 scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner) OVERRIDE;
28 virtual scoped_ptr<EventExecutor> CreateEventExecutor( 28 virtual scoped_ptr<InputInjector> CreateInputInjector(
29 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, 29 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner,
30 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) OVERRIDE; 30 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) OVERRIDE;
31 virtual scoped_ptr<SessionController> CreateSessionController() OVERRIDE; 31 virtual scoped_ptr<SessionController> CreateSessionController() OVERRIDE;
32 virtual scoped_ptr<media::ScreenCapturer> CreateVideoCapturer( 32 virtual scoped_ptr<media::ScreenCapturer> CreateVideoCapturer(
33 scoped_refptr<base::SingleThreadTaskRunner> capture_task_runner, 33 scoped_refptr<base::SingleThreadTaskRunner> capture_task_runner,
34 scoped_refptr<base::SingleThreadTaskRunner> encode_task_runner) OVERRIDE; 34 scoped_refptr<base::SingleThreadTaskRunner> encode_task_runner) OVERRIDE;
35 35
36 protected: 36 protected:
37 friend class BasicDesktopEnvironmentFactory; 37 friend class BasicDesktopEnvironmentFactory;
38 BasicDesktopEnvironment(); 38 BasicDesktopEnvironment();
(...skipping 14 matching lines...) Expand all
53 const base::Closure& disconnect_callback) OVERRIDE; 53 const base::Closure& disconnect_callback) OVERRIDE;
54 virtual bool SupportsAudioCapture() const OVERRIDE; 54 virtual bool SupportsAudioCapture() const OVERRIDE;
55 55
56 private: 56 private:
57 DISALLOW_COPY_AND_ASSIGN(BasicDesktopEnvironmentFactory); 57 DISALLOW_COPY_AND_ASSIGN(BasicDesktopEnvironmentFactory);
58 }; 58 };
59 59
60 } // namespace remoting 60 } // namespace remoting
61 61
62 #endif // REMOTING_HOST_BASIC_DESKTOP_ENVIRONMENT_H_ 62 #endif // REMOTING_HOST_BASIC_DESKTOP_ENVIRONMENT_H_
OLDNEW
« no previous file with comments | « no previous file | remoting/host/basic_desktop_environment.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698