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

Issue 1930473003: Adding support for Win+L key combo in Windows host. (Closed)

Created:
4 years, 7 months ago by joedow
Modified:
4 years, 7 months ago
Reviewers:
Jamie
CC:
chromium-reviews, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adding support for Win+L key combo in Windows host. This change will add a handler for the WIN+L key combination on non-home SKUs of Windows. When the WIN+L combo is pressed, we will call LockWorkstation. Based on my investigation, it appears that this combo cannot be overridden and only works when issued from a physical keyboard. Therefore it isn't something that can be issued remotely and our function call will not conflict with some other behavior. We skip the Home SKUs as locking the workstation doesn't really make sense there (it brings up the switch users UI instead). BUG=517322 Committed: https://crrev.com/83eff387b6535ea4d74ed993e0dbc7cf719a71c5 Cr-Commit-Position: refs/heads/master@{#390673}

Patch Set 1 #

Patch Set 2 : Fixing some comments #

Patch Set 3 : Fixing a non-windows build break #

Total comments: 8

Patch Set 4 : Addressing CR feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+80 lines, -27 lines) Patch
M remoting/host/desktop_process.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M remoting/host/desktop_process.cc View 1 2 3 2 chunks +20 lines, -0 lines 0 comments Download
M remoting/host/desktop_process_main.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M remoting/host/win/session_desktop_environment.h View 1 3 chunks +9 lines, -1 line 0 comments Download
M remoting/host/win/session_desktop_environment.cc View 3 chunks +12 lines, -8 lines 0 comments Download
M remoting/host/win/session_input_injector.h View 1 2 3 1 chunk +7 lines, -7 lines 0 comments Download
M remoting/host/win/session_input_injector.cc View 1 6 chunks +26 lines, -10 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
joedow
Implementing LockWorkStation functionality for Windows Host on non-Home SKUs. PTAL! Thanks, Joe
4 years, 7 months ago (2016-04-28 20:35:54 UTC) #2
Jamie
https://codereview.chromium.org/1930473003/diff/40001/remoting/host/desktop_process.cc File remoting/host/desktop_process.cc (right): https://codereview.chromium.org/1930473003/diff/40001/remoting/host/desktop_process.cc#newcode79 remoting/host/desktop_process.cc:79: } I think this needs to factored out more ...
4 years, 7 months ago (2016-04-28 22:00:12 UTC) #3
Wez
typo in description: second paragraph says you skip non-Home SKUs.
4 years, 7 months ago (2016-04-28 22:28:28 UTC) #4
Jamie
LGTM. https://codereview.chromium.org/1930473003/diff/40001/remoting/host/desktop_process.cc File remoting/host/desktop_process.cc (right): https://codereview.chromium.org/1930473003/diff/40001/remoting/host/desktop_process.cc#newcode19 remoting/host/desktop_process.cc:19: #include "base/win/windows_version.h" Does this also need an ifdef? ...
4 years, 7 months ago (2016-04-29 00:41:42 UTC) #5
joedow
Thanks! https://codereview.chromium.org/1930473003/diff/40001/remoting/host/desktop_process.cc File remoting/host/desktop_process.cc (right): https://codereview.chromium.org/1930473003/diff/40001/remoting/host/desktop_process.cc#newcode19 remoting/host/desktop_process.cc:19: #include "base/win/windows_version.h" On 2016/04/29 00:41:42, Jamie wrote: > ...
4 years, 7 months ago (2016-04-29 16:13:09 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1930473003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1930473003/60001
4 years, 7 months ago (2016-04-29 16:22:39 UTC) #10
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 7 months ago (2016-04-29 16:51:24 UTC) #11
commit-bot: I haz the power
4 years, 7 months ago (2016-04-30 17:26:30 UTC) #12
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/83eff387b6535ea4d74ed993e0dbc7cf719a71c5
Cr-Commit-Position: refs/heads/master@{#390673}

Powered by Google App Engine
This is Rietveld 408576698