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

Issue 1814983003: Add an experimental keyboard lock, where Esc must be held to exit. (Closed)

Created:
4 years, 9 months ago by dominickn
Modified:
4 years, 9 months ago
Reviewers:
msw, Matt Giuca, sky
CC:
chromium-reviews, asvitkine+watch_chromium.org, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add an experimental keyboard lock, where Esc must be held to exit. This CL adds an experimental fullscreen with keyboard lock feature, which can be enabled in chrome://flags. Once toggled, the browser requires Esc to be held down for at least 1.5 seconds to exit fullscreen. This is to evaluate how the interaction feels in the browser. BUG=595958 Committed: https://crrev.com/177196c218135882ba6438dfd885fd540be00852 Cr-Commit-Position: refs/heads/master@{#383031}

Patch Set 1 #

Total comments: 11

Patch Set 2 : Addressing reviewer comments #

Total comments: 14

Patch Set 3 : Addressing reviewer comments #

Total comments: 2

Patch Set 4 : Addressing nit #

Total comments: 2

Patch Set 5 : Addressing comment nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -2 lines) Patch
M chrome/app/generated_resources.grd View 1 2 chunks +11 lines, -2 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/exclusive_access/exclusive_access_bubble_type.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/exclusive_access/exclusive_access_bubble_type.cc View 1 5 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/exclusive_access/exclusive_access_manager.h View 1 2 3 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/exclusive_access/exclusive_access_manager.cc View 1 2 3 6 chunks +43 lines, -0 lines 0 comments Download
M chrome/common/chrome_features.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/chrome_features.cc View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (8 generated)
dominickn
PTAL and let me know what you think of the implementation. Thanks!
4 years, 9 months ago (2016-03-18 04:04:18 UTC) #2
Matt Giuca
https://codereview.chromium.org/1814983003/diff/1/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/1814983003/diff/1/chrome/app/generated_resources.grd#newcode6509 chrome/app/generated_resources.grd:6509: + Experimental full screen UI. I think this flag ...
4 years, 9 months ago (2016-03-21 00:36:07 UTC) #3
dominickn
Thanks! +msw: PTAL. This flag and experimental mode is a step towards implementing a "keyboard ...
4 years, 9 months ago (2016-03-21 21:58:04 UTC) #6
msw
https://codereview.chromium.org/1814983003/diff/1/chrome/browser/ui/exclusive_access/exclusive_access_manager.cc File chrome/browser/ui/exclusive_access/exclusive_access_manager.cc (right): https://codereview.chromium.org/1814983003/diff/1/chrome/browser/ui/exclusive_access/exclusive_access_manager.cc#newcode25 chrome/browser/ui/exclusive_access/exclusive_access_manager.cc:25: const double kDurationToHoldEscapeToExitFullscreen = 1.5; On 2016/03/21 21:58:04, dominickn ...
4 years, 9 months ago (2016-03-23 07:20:55 UTC) #7
dominickn
Thanks! https://codereview.chromium.org/1814983003/diff/20001/chrome/browser/ui/exclusive_access/exclusive_access_manager.cc File chrome/browser/ui/exclusive_access/exclusive_access_manager.cc (right): https://codereview.chromium.org/1814983003/diff/20001/chrome/browser/ui/exclusive_access/exclusive_access_manager.cc#newcode69 chrome/browser/ui/exclusive_access/exclusive_access_manager.cc:69: if (IsExperimentalKeyboardLockUIEnabled()) On 2016/03/23 07:20:54, msw wrote: > ...
4 years, 9 months ago (2016-03-23 10:07:03 UTC) #8
msw
lgtm with a nit https://codereview.chromium.org/1814983003/diff/20001/chrome/browser/ui/exclusive_access/exclusive_access_manager.cc File chrome/browser/ui/exclusive_access/exclusive_access_manager.cc (right): https://codereview.chromium.org/1814983003/diff/20001/chrome/browser/ui/exclusive_access/exclusive_access_manager.cc#newcode136 chrome/browser/ui/exclusive_access/exclusive_access_manager.cc:136: if (event.type == content::NativeWebKeyboardEvent::KeyUp && ...
4 years, 9 months ago (2016-03-23 17:07:32 UTC) #9
dominickn
Thanks! +sky: PTAL at chrome/common. https://codereview.chromium.org/1814983003/diff/40001/chrome/browser/ui/exclusive_access/exclusive_access_manager.cc File chrome/browser/ui/exclusive_access/exclusive_access_manager.cc (right): https://codereview.chromium.org/1814983003/diff/40001/chrome/browser/ui/exclusive_access/exclusive_access_manager.cc#newcode36 chrome/browser/ui/exclusive_access/exclusive_access_manager.cc:36: hold_timer_() { On 2016/03/23 ...
4 years, 9 months ago (2016-03-23 23:36:22 UTC) #11
sky
FTR this features sounds AWFUL! If we add this feature can any site use it? ...
4 years, 9 months ago (2016-03-23 23:46:10 UTC) #12
dominickn
On 2016/03/23 23:46:10, sky wrote: > FTR this features sounds AWFUL! If we add this ...
4 years, 9 months ago (2016-03-23 23:53:56 UTC) #13
sky
LGTM
4 years, 9 months ago (2016-03-24 02:45:01 UTC) #14
dominickn
Thanks! https://codereview.chromium.org/1814983003/diff/60001/chrome/common/chrome_features.cc File chrome/common/chrome_features.cc (right): https://codereview.chromium.org/1814983003/diff/60001/chrome/common/chrome_features.cc#newcode17 chrome/common/chrome_features.cc:17: // An experimental fullscreen prototype that allows pages ...
4 years, 9 months ago (2016-03-24 03:03:53 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1814983003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1814983003/80001
4 years, 9 months ago (2016-03-24 04:23:46 UTC) #18
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 9 months ago (2016-03-24 04:32:07 UTC) #20
commit-bot: I haz the power
4 years, 9 months ago (2016-03-24 04:33:12 UTC) #22
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/177196c218135882ba6438dfd885fd540be00852
Cr-Commit-Position: refs/heads/master@{#383031}

Powered by Google App Engine
This is Rietveld 408576698