flags: remove gesture-editing
This flag is wired to a switch which itself does nothing, so this change removes
both.
Bug: None
Change-Id: I194799e8318fd4fba6b43968488ff7d38c60d169
Reviewed-on: https://chromium-review.googlesource.com/c/1473430
Auto-Submit: Elly Fong-Jones <ellyjones@chromium.org>
Commit-Queue: Leo Zhang <googleo@chromium.org>
Reviewed-by: Leo Zhang <googleo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#632525}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 7d38f51..9f460eeb 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -1708,9 +1708,6 @@
{"gesture-typing", flag_descriptions::kGestureTypingName,
flag_descriptions::kGestureTypingDescription, kOsCrOS,
SINGLE_DISABLE_VALUE_TYPE(keyboard::switches::kDisableGestureTyping)},
- {"gesture-editing", flag_descriptions::kGestureEditingName,
- flag_descriptions::kGestureEditingDescription, kOsCrOS,
- SINGLE_DISABLE_VALUE_TYPE(keyboard::switches::kDisableGestureEditing)},
#endif // OS_CHROMEOS
#if BUILDFLAG(ENABLE_SERVICE_DISCOVERY)
{"device-discovery-notifications",
diff --git a/chrome/browser/flag-metadata.json b/chrome/browser/flag-metadata.json
index d78b3cfd..45cb427 100644
--- a/chrome/browser/flag-metadata.json
+++ b/chrome/browser/flag-metadata.json
@@ -2218,11 +2218,6 @@
"expiry_milestone": 76
},
{
- "name": "gesture-editing",
- // "owners": [ "your-team" ],
- "expiry_milestone": 76
- },
- {
"name": "gesture-typing",
// "owners": [ "your-team" ],
"expiry_milestone": 76
diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc
index 933b6ff1..d2853aa 100644
--- a/chrome/browser/flag_descriptions.cc
+++ b/chrome/browser/flag_descriptions.cc
@@ -3354,11 +3354,6 @@
"Forces display of the stylus tools menu in the shelf and the stylus "
"section in settings, even if there is no attached stylus device.";
-const char kGestureEditingName[] = "Gesture editing for the virtual keyboard.";
-const char kGestureEditingDescription[] =
- "Enable/Disable gesture editing option in the settings page for the "
- "virtual keyboard.";
-
const char kGestureTypingName[] = "Gesture typing for the virtual keyboard.";
const char kGestureTypingDescription[] =
"Enable/Disable gesture typing option in the settings page for the virtual "
diff --git a/chrome/browser/flag_descriptions.h b/chrome/browser/flag_descriptions.h
index fe9226e..2587f718 100644
--- a/chrome/browser/flag_descriptions.h
+++ b/chrome/browser/flag_descriptions.h
@@ -2015,9 +2015,6 @@
extern const char kForceEnableStylusToolsName[];
extern const char kForceEnableStylusToolsDescription[];
-extern const char kGestureEditingName[];
-extern const char kGestureEditingDescription[];
-
extern const char kGestureTypingName[];
extern const char kGestureTypingDescription[];
diff --git a/ui/keyboard/public/keyboard_switches.cc b/ui/keyboard/public/keyboard_switches.cc
index f99e8e95..261acac 100644
--- a/ui/keyboard/public/keyboard_switches.cc
+++ b/ui/keyboard/public/keyboard_switches.cc
@@ -10,7 +10,6 @@
const char kDisableInputView[] = "disable-input-view";
const char kDisableVoiceInput[] = "disable-voice-input";
const char kDisableGestureTyping[] = "disable-gesture-typing";
-const char kDisableGestureEditing[] = "disable-gesture-editing";
const char kEnableVirtualKeyboard[] = "enable-virtual-keyboard";
const char kDisableVirtualKeyboardOverscroll[] =
"disable-virtual-keyboard-overscroll";
diff --git a/ui/keyboard/public/keyboard_switches.h b/ui/keyboard/public/keyboard_switches.h
index ae172d5..a2ac6b7 100644
--- a/ui/keyboard/public/keyboard_switches.h
+++ b/ui/keyboard/public/keyboard_switches.h
@@ -20,10 +20,6 @@
// Flag which disables gesture typing for the virtual keyboard.
KEYBOARD_EXPORT extern const char kDisableGestureTyping[];
-// Controls the appearance of the settings option to enable gesture editing
-// for the virtual keyboard.
-KEYBOARD_EXPORT extern const char kDisableGestureEditing[];
-
// Enables the virtual keyboard.
KEYBOARD_EXPORT extern const char kEnableVirtualKeyboard[];