| 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_ME2ME_DESKTOP_ENVIRONMENT_H_ | 5 #ifndef REMOTING_HOST_ME2ME_DESKTOP_ENVIRONMENT_H_ |
| 6 #define REMOTING_HOST_ME2ME_DESKTOP_ENVIRONMENT_H_ | 6 #define REMOTING_HOST_ME2ME_DESKTOP_ENVIRONMENT_H_ |
| 7 | 7 |
| 8 #include "remoting/host/basic_desktop_environment.h" | 8 #include "remoting/host/basic_desktop_environment.h" |
| 9 | 9 |
| 10 namespace remoting { | 10 namespace remoting { |
| 11 | 11 |
| 12 class CurtainMode; | 12 class CurtainMode; |
| 13 class HostWindow; | 13 class HostWindow; |
| 14 class LocalInputMonitor; | 14 class LocalInputMonitor; |
| 15 | 15 |
| 16 // Same as BasicDesktopEnvironment but supports desktop resizing and X DAMAGE | 16 // Same as BasicDesktopEnvironment but supports desktop resizing and X DAMAGE |
| 17 // notifications on Linux. | 17 // notifications on Linux. |
| 18 class Me2MeDesktopEnvironment : public BasicDesktopEnvironment { | 18 class Me2MeDesktopEnvironment : public BasicDesktopEnvironment { |
| 19 public: | 19 public: |
| 20 virtual ~Me2MeDesktopEnvironment(); | 20 virtual ~Me2MeDesktopEnvironment(); |
| 21 | 21 |
| 22 // DesktopEnvironment interface. | 22 // DesktopEnvironment interface. |
| 23 virtual scoped_ptr<ScreenControls> CreateScreenControls() OVERRIDE; | 23 virtual scoped_ptr<ScreenControls> CreateScreenControls() OVERRIDE; |
| 24 virtual scoped_ptr<webrtc::ScreenCapturer> CreateVideoCapturer() OVERRIDE; | |
| 25 virtual std::string GetCapabilities() const OVERRIDE; | 24 virtual std::string GetCapabilities() const OVERRIDE; |
| 26 virtual scoped_ptr<GnubbyAuthHandler> CreateGnubbyAuthHandler( | 25 virtual scoped_ptr<GnubbyAuthHandler> CreateGnubbyAuthHandler( |
| 27 protocol::ClientStub* client_stub) OVERRIDE; | 26 protocol::ClientStub* client_stub) OVERRIDE; |
| 28 | 27 |
| 29 protected: | 28 protected: |
| 30 friend class Me2MeDesktopEnvironmentFactory; | 29 friend class Me2MeDesktopEnvironmentFactory; |
| 31 Me2MeDesktopEnvironment( | 30 Me2MeDesktopEnvironment( |
| 32 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, | 31 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, |
| 33 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, | 32 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, |
| 34 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner); | 33 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner); |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 | 81 |
| 83 // True if gnubby auth is enabled. | 82 // True if gnubby auth is enabled. |
| 84 bool gnubby_auth_enabled_; | 83 bool gnubby_auth_enabled_; |
| 85 | 84 |
| 86 DISALLOW_COPY_AND_ASSIGN(Me2MeDesktopEnvironmentFactory); | 85 DISALLOW_COPY_AND_ASSIGN(Me2MeDesktopEnvironmentFactory); |
| 87 }; | 86 }; |
| 88 | 87 |
| 89 } // namespace remoting | 88 } // namespace remoting |
| 90 | 89 |
| 91 #endif // REMOTING_HOST_ME2ME_DESKTOP_ENVIRONMENT_H_ | 90 #endif // REMOTING_HOST_ME2ME_DESKTOP_ENVIRONMENT_H_ |
| OLD | NEW |