OLD | NEW |
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" |
(...skipping 11 matching lines...) Expand all Loading... |
22 public: | 22 public: |
23 explicit BasicDesktopEnvironment(bool use_x_damage); | 23 explicit BasicDesktopEnvironment(bool use_x_damage); |
24 virtual ~BasicDesktopEnvironment(); | 24 virtual ~BasicDesktopEnvironment(); |
25 | 25 |
26 // DesktopEnvironment implementation. | 26 // DesktopEnvironment implementation. |
27 virtual scoped_ptr<AudioCapturer> CreateAudioCapturer( | 27 virtual scoped_ptr<AudioCapturer> CreateAudioCapturer( |
28 scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner) OVERRIDE; | 28 scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner) OVERRIDE; |
29 virtual scoped_ptr<EventExecutor> CreateEventExecutor( | 29 virtual scoped_ptr<EventExecutor> CreateEventExecutor( |
30 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, | 30 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, |
31 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) OVERRIDE; | 31 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) OVERRIDE; |
| 32 virtual scoped_ptr<SessionController> CreateSessionController() OVERRIDE; |
32 virtual scoped_ptr<media::ScreenCapturer> CreateVideoCapturer( | 33 virtual scoped_ptr<media::ScreenCapturer> CreateVideoCapturer( |
33 scoped_refptr<base::SingleThreadTaskRunner> capture_task_runner, | 34 scoped_refptr<base::SingleThreadTaskRunner> capture_task_runner, |
34 scoped_refptr<base::SingleThreadTaskRunner> encode_task_runner) OVERRIDE; | 35 scoped_refptr<base::SingleThreadTaskRunner> encode_task_runner) OVERRIDE; |
35 | 36 |
36 private: | 37 private: |
37 // True if X DAMAGE support should be used by the video capturer. | 38 // True if X DAMAGE support should be used by the video capturer. |
38 bool use_x_damage_; | 39 bool use_x_damage_; |
39 | 40 |
40 DISALLOW_COPY_AND_ASSIGN(BasicDesktopEnvironment); | 41 DISALLOW_COPY_AND_ASSIGN(BasicDesktopEnvironment); |
41 }; | 42 }; |
(...skipping 13 matching lines...) Expand all Loading... |
55 private: | 56 private: |
56 // True if X DAMAGE support should be used by the video capturer. | 57 // True if X DAMAGE support should be used by the video capturer. |
57 bool use_x_damage_; | 58 bool use_x_damage_; |
58 | 59 |
59 DISALLOW_COPY_AND_ASSIGN(BasicDesktopEnvironmentFactory); | 60 DISALLOW_COPY_AND_ASSIGN(BasicDesktopEnvironmentFactory); |
60 }; | 61 }; |
61 | 62 |
62 } // namespace remoting | 63 } // namespace remoting |
63 | 64 |
64 #endif // REMOTING_HOST_BASIC_DESKTOP_ENVIRONMENT_H_ | 65 #endif // REMOTING_HOST_BASIC_DESKTOP_ENVIRONMENT_H_ |
OLD | NEW |