diff options
author | stevet@chromium.org <stevet@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-25 01:16:18 +0000 |
---|---|---|
committer | stevet@chromium.org <stevet@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-25 01:16:18 +0000 |
commit | 8b4321e816c28325b89619ddbec505c780246ce1 (patch) | |
tree | 747d7b0ff9c1b6f2bf569af7123bab19229dce80 /ui/keyboard/keyboard_switches.h | |
parent | f16be8da70a1ef247a9e2a8a4c063b58f419a498 (diff) | |
download | chromium_src-8b4321e816c28325b89619ddbec505c780246ce1.zip chromium_src-8b4321e816c28325b89619ddbec505c780246ce1.tar.gz chromium_src-8b4321e816c28325b89619ddbec505c780246ce1.tar.bz2 |
Hide the swipe selection feature behind a flag, --enable-swipe-selection.
We do this in a simple manner by making the extension API a NOP unless the flag is provided.
BUG=303155
TEST=Run ash with the keyboard (--enable-virtual-keyboard) and try to use the swipe selection feature by typing some stuff and swiping across the keyboard area to move the selection. Note that it doesn't work unless you also specify the --enable-swipe-selection feature.
Review URL: https://codereview.chromium.org/35593002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230894 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/keyboard/keyboard_switches.h')
-rw-r--r-- | ui/keyboard/keyboard_switches.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/keyboard/keyboard_switches.h b/ui/keyboard/keyboard_switches.h index a7d0533..5ba00d7 100644 --- a/ui/keyboard/keyboard_switches.h +++ b/ui/keyboard/keyboard_switches.h @@ -10,6 +10,9 @@ namespace keyboard { namespace switches { +// Enables the swipe selection feature on the virtual keyboard. +KEYBOARD_EXPORT extern const char kEnableSwipeSelection[]; + // Enables the virtual keyboard. KEYBOARD_EXPORT extern const char kEnableVirtualKeyboard[]; |