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

Unified Diff: remoting/host/win/session_desktop_environment.h

Issue 1930473003: Adding support for Win+L key combo in Windows host. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing CR feedback Created 4 years, 8 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/desktop_process_main.cc ('k') | remoting/host/win/session_desktop_environment.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/win/session_desktop_environment.h
diff --git a/remoting/host/win/session_desktop_environment.h b/remoting/host/win/session_desktop_environment.h
index a74f6fcd055f1e376862623791fb12fdf83c4d11..53248f6600128cc65f83ea0b51d0eafbaf988094 100644
--- a/remoting/host/win/session_desktop_environment.h
+++ b/remoting/host/win/session_desktop_environment.h
@@ -30,11 +30,15 @@ class SessionDesktopEnvironment : public Me2MeDesktopEnvironment {
scoped_refptr<base::SingleThreadTaskRunner> input_task_runner,
scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner,
const base::Closure& inject_sas,
+ const base::Closure& lock_workstation,
bool supports_touch_events);
// Used to ask the daemon to inject Secure Attention Sequence.
base::Closure inject_sas_;
+ // Used to lock the workstation for the current session.
+ base::Closure lock_workstation_;
+
DISALLOW_COPY_AND_ASSIGN(SessionDesktopEnvironment);
};
@@ -46,7 +50,8 @@ class SessionDesktopEnvironmentFactory : public Me2MeDesktopEnvironmentFactory {
scoped_refptr<base::SingleThreadTaskRunner> video_capture_task_runner,
scoped_refptr<base::SingleThreadTaskRunner> input_task_runner,
scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner,
- const base::Closure& inject_sas);
+ const base::Closure& inject_sas,
+ const base::Closure& lock_workstation);
~SessionDesktopEnvironmentFactory() override;
// DesktopEnvironmentFactory implementation.
@@ -57,6 +62,9 @@ class SessionDesktopEnvironmentFactory : public Me2MeDesktopEnvironmentFactory {
// Used to ask the daemon to inject Secure Attention Sequence.
base::Closure inject_sas_;
+ // Used to lock the workstation for the current session.
+ base::Closure lock_workstation_;
+
DISALLOW_COPY_AND_ASSIGN(SessionDesktopEnvironmentFactory);
};
« no previous file with comments | « remoting/host/desktop_process_main.cc ('k') | remoting/host/win/session_desktop_environment.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698