DescriptionAdd power-user keyboard mode for ChromeOS with Search key acting as a typical Fn key.
All new behaviour in this CL is hidden behind the command line flag
--enable-chromebook-function-key.
Currently the keyboard shortcuts for PageUp, PageDown, Delete, etc are all
accessed by holding Alt or Alt+Control. This prevents you from using Alt or
Control as a modifier to the desired keyboard shortcut, which prevents access
to advanced keyboard shortcuts in applications, and even normal shortcuts such
as Control-End to move to the end of the document.
This adds a command line flag --enable-chromebook-function-key that adds a
checkbox to the Keyboard settings UI. When the checkbox is enabled, the
Search key replaces Alt/Control as the modifier used to access advanced
keyboard shortcuts such as Home, Delete, etc. The following shortcuts
become accessible with the Search key:
Search+Up => Page Up
Search+Down => Page Down
Search+Left => Home
Search+Right => End
Search+Backspace => Delete
R=yusukes@chromium.org
BUG=162268
TEST=unit_tests:EventRewriter.TestRewriteBackspaceAndArrowKeys
TEST=ash_unittests:AcceleratorControllerTest.GlobalAcceleratorsToggleAppListWithoutSearchAsModifier
TEST=ash_unittests:AcceleratorControllerTest.GlobalAcceleratorsToggleAppListWithSearchAsModifier
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=169741
Patch Set 1 #Patch Set 2 : Add about:flags #Patch Set 3 : Drop the F1 etc changes #Patch Set 4 : Don't avoid remapping Alt-Up etc when a PrefService isn't around #
Total comments: 24
Patch Set 5 : Address feedback #
Total comments: 1
Patch Set 6 : Fix unittest #
Total comments: 6
Patch Set 7 : Separate search_as_function_key block in RewriteBackspaceEtc #Patch Set 8 : Remove DropSearchKey function #
Total comments: 3
Patch Set 9 : ToggleAppList on press #
Total comments: 4
Patch Set 10 : nits #
Total comments: 6
Patch Set 11 : SkyNits #Messages
Total messages: 24 (0 generated)
|