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/me2me_desktop_environment.h

Issue 2458513004: Revert of Remove supports_touch_events flag from BasicDesktopEnvironment (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « remoting/host/it2me_desktop_environment.cc ('k') | remoting/host/me2me_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_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 "base/macros.h" 8 #include "base/macros.h"
9 #include "remoting/host/basic_desktop_environment.h" 9 #include "remoting/host/basic_desktop_environment.h"
10 10
(...skipping 12 matching lines...) Expand all
23 // DesktopEnvironment interface. 23 // DesktopEnvironment interface.
24 std::unique_ptr<ScreenControls> CreateScreenControls() override; 24 std::unique_ptr<ScreenControls> CreateScreenControls() override;
25 std::string GetCapabilities() const override; 25 std::string GetCapabilities() const override;
26 26
27 protected: 27 protected:
28 friend class Me2MeDesktopEnvironmentFactory; 28 friend class Me2MeDesktopEnvironmentFactory;
29 Me2MeDesktopEnvironment( 29 Me2MeDesktopEnvironment(
30 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, 30 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner,
31 scoped_refptr<base::SingleThreadTaskRunner> video_capture_task_runner, 31 scoped_refptr<base::SingleThreadTaskRunner> video_capture_task_runner,
32 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, 32 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner,
33 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner); 33 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner,
34 bool supports_touch_events);
34 35
35 // Initializes security features of the desktop environment (the curtain mode 36 // Initializes security features of the desktop environment (the curtain mode
36 // and in-session UI). 37 // and in-session UI).
37 bool InitializeSecurity( 38 bool InitializeSecurity(
38 base::WeakPtr<ClientSessionControl> client_session_control, 39 base::WeakPtr<ClientSessionControl> client_session_control,
39 bool curtain_enabled); 40 bool curtain_enabled);
40 41
41 private: 42 private:
42 // "Curtains" the session making sure it is disconnected from the local 43 // "Curtains" the session making sure it is disconnected from the local
43 // console. 44 // console.
(...skipping 29 matching lines...) Expand all
73 private: 74 private:
74 // True if curtain mode is enabled. 75 // True if curtain mode is enabled.
75 bool curtain_enabled_ = false; 76 bool curtain_enabled_ = false;
76 77
77 DISALLOW_COPY_AND_ASSIGN(Me2MeDesktopEnvironmentFactory); 78 DISALLOW_COPY_AND_ASSIGN(Me2MeDesktopEnvironmentFactory);
78 }; 79 };
79 80
80 } // namespace remoting 81 } // namespace remoting
81 82
82 #endif // REMOTING_HOST_ME2ME_DESKTOP_ENVIRONMENT_H_ 83 #endif // REMOTING_HOST_ME2ME_DESKTOP_ENVIRONMENT_H_
OLDNEW
« no previous file with comments | « remoting/host/it2me_desktop_environment.cc ('k') | remoting/host/me2me_desktop_environment.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698