Commit 2cf7a7c9 authored by Curtis McMullan's avatar Curtis McMullan Committed by Commit Bot

Add resizable floating keyboard flag

We want to create a prototype of a resizable floating virtual keyboard. This flag will be used to enable / disable the prototype.

Bug: 1019990
Change-Id: I6194b024842ee177bca2180c74e69836d26897bf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1882256Reviewed-by: default avatarDarren Shen <shend@chromium.org>
Reviewed-by: default avatarXiaoqian Dai <xdai@chromium.org>
Commit-Queue: Curtis McMullan <curtismcmullan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#712916}
parent 29d31a12
......@@ -398,6 +398,10 @@ void ChromeVirtualKeyboardDelegate::OnHasInputDevices(
features->AppendString(GenerateFeatureFlag(
"borderedkey", base::FeatureList::IsEnabled(
chromeos::features::kVirtualKeyboardBorderedKey)));
features->AppendString(GenerateFeatureFlag(
"resizablefloatingkeyboard",
base::FeatureList::IsEnabled(
chromeos::features::kVirtualKeyboardFloatingResizable)));
results->Set("features", std::move(features));
......
......@@ -272,6 +272,10 @@ const base::Feature kVideoPlayerNativeControls{
const base::Feature kVirtualKeyboardBorderedKey{
"VirtualKeyboardBorderedKey", base::FEATURE_DISABLED_BY_DEFAULT};
// Enable or disable resizable floating virtual keyboard on Chrome OS.
const base::Feature kVirtualKeyboardFloatingResizable{
"VirtualKeyboardFloatingResizable", base::FEATURE_DISABLED_BY_DEFAULT};
////////////////////////////////////////////////////////////////////////////////
bool IsAmbientModeEnabled() {
......
......@@ -125,6 +125,8 @@ COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
extern const base::Feature kVideoPlayerNativeControls;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
extern const base::Feature kVirtualKeyboardBorderedKey;
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
extern const base::Feature kVirtualKeyboardFloatingResizable;
// Keep alphabetized.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment