| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_IT2ME_DESKTOP_ENVIRONMENT_H_ | 5 #ifndef REMOTING_HOST_IT2ME_DESKTOP_ENVIRONMENT_H_ |
| 6 #define REMOTING_HOST_IT2ME_DESKTOP_ENVIRONMENT_H_ | 6 #define REMOTING_HOST_IT2ME_DESKTOP_ENVIRONMENT_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 ~It2MeDesktopEnvironment() override; | 23 ~It2MeDesktopEnvironment() override; |
| 24 | 24 |
| 25 protected: | 25 protected: |
| 26 friend class It2MeDesktopEnvironmentFactory; | 26 friend class It2MeDesktopEnvironmentFactory; |
| 27 It2MeDesktopEnvironment( | 27 It2MeDesktopEnvironment( |
| 28 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, | 28 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, |
| 29 scoped_refptr<base::SingleThreadTaskRunner> video_capture_task_runner, | 29 scoped_refptr<base::SingleThreadTaskRunner> video_capture_task_runner, |
| 30 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, | 30 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, |
| 31 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, | 31 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, |
| 32 base::WeakPtr<ClientSessionControl> client_session_control, | 32 base::WeakPtr<ClientSessionControl> client_session_control, |
| 33 bool supports_touch_events, | |
| 34 bool enable_user_interface); | 33 bool enable_user_interface); |
| 35 | 34 |
| 36 private: | 35 private: |
| 37 // Presents the continue window to the local user. | 36 // Presents the continue window to the local user. |
| 38 std::unique_ptr<HostWindow> continue_window_; | 37 std::unique_ptr<HostWindow> continue_window_; |
| 39 | 38 |
| 40 // Presents the disconnect window to the local user. | 39 // Presents the disconnect window to the local user. |
| 41 std::unique_ptr<HostWindow> disconnect_window_; | 40 std::unique_ptr<HostWindow> disconnect_window_; |
| 42 | 41 |
| 43 // Notifies the client session about the local mouse movements. | 42 // Notifies the client session about the local mouse movements. |
| (...skipping 22 matching lines...) Expand all Loading... |
| 66 | 65 |
| 67 private: | 66 private: |
| 68 bool enable_user_interface_ = true; | 67 bool enable_user_interface_ = true; |
| 69 | 68 |
| 70 DISALLOW_COPY_AND_ASSIGN(It2MeDesktopEnvironmentFactory); | 69 DISALLOW_COPY_AND_ASSIGN(It2MeDesktopEnvironmentFactory); |
| 71 }; | 70 }; |
| 72 | 71 |
| 73 } // namespace remoting | 72 } // namespace remoting |
| 74 | 73 |
| 75 #endif // REMOTING_HOST_IT2ME_DESKTOP_ENVIRONMENT_H_ | 74 #endif // REMOTING_HOST_IT2ME_DESKTOP_ENVIRONMENT_H_ |
| OLD | NEW |