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

Unified Diff: remoting/host/it2me_desktop_environment.h

Issue 1923573006: Implement a dummy host to do capturing and analysis only. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resolve review commnets Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/BUILD.gn ('k') | remoting/host/it2me_desktop_environment.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/it2me_desktop_environment.h
diff --git a/remoting/host/it2me_desktop_environment.h b/remoting/host/it2me_desktop_environment.h
index 94f210ab1f4b7fb4156e63949531cd5b37474bfe..348b8ddf6cf8531f57a66f5c3e26f29cf9b9dd52 100644
--- a/remoting/host/it2me_desktop_environment.h
+++ b/remoting/host/it2me_desktop_environment.h
@@ -30,7 +30,8 @@ class It2MeDesktopEnvironment : public BasicDesktopEnvironment {
scoped_refptr<base::SingleThreadTaskRunner> input_task_runner,
scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner,
base::WeakPtr<ClientSessionControl> client_session_control,
- bool supports_touch_events);
+ bool supports_touch_events,
+ bool enable_user_interface);
private:
// Presents the continue window to the local user.
@@ -59,7 +60,13 @@ class It2MeDesktopEnvironmentFactory : public BasicDesktopEnvironmentFactory {
std::unique_ptr<DesktopEnvironment> Create(
base::WeakPtr<ClientSessionControl> client_session_control) override;
+ void set_enable_user_interface(bool enabled) {
+ enable_user_interface_ = enabled;
+ }
+
private:
+ bool enable_user_interface_ = true;
+
DISALLOW_COPY_AND_ASSIGN(It2MeDesktopEnvironmentFactory);
};
« no previous file with comments | « remoting/host/BUILD.gn ('k') | remoting/host/it2me_desktop_environment.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698