Commit 977ae937 authored by Elly Fong-Jones's avatar Elly Fong-Jones Committed by Commit Bot

flags: remove enable-physical-keyboard-autocorrect

This change also removes the backing switches; after this change it is no longer
possible to disable physical-keyboard-autocorrect.

Bug: 961526
Change-Id: Id15dfe05a048e99c399ce5cf34c3bdd0b2b716e6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1611903
Auto-Submit: Elly Fong-Jones <ellyjones@chromium.org>
Commit-Queue: Shu Chen <shuchen@chromium.org>
Reviewed-by: default avatarShu Chen <shuchen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#659771}
parent c6db05aa
......@@ -1431,12 +1431,6 @@ const FeatureEntry kFeatureEntries[] = {
{"enable-virtual-keyboard", flag_descriptions::kVirtualKeyboardName,
flag_descriptions::kVirtualKeyboardDescription, kOsCrOS,
SINGLE_VALUE_TYPE(keyboard::switches::kEnableVirtualKeyboard)},
{"enable-physical-keyboard-autocorrect",
flag_descriptions::kPhysicalKeyboardAutocorrectName,
flag_descriptions::kPhysicalKeyboardAutocorrectDescription, kOsCrOS,
ENABLE_DISABLE_VALUE_TYPE(
chromeos::switches::kEnablePhysicalKeyboardAutocorrect,
chromeos::switches::kDisablePhysicalKeyboardAutocorrect)},
#endif // OS_CHROMEOS
#if BUILDFLAG(ENABLE_SERVICE_DISCOVERY)
{"device-discovery-notifications",
......
......@@ -12,7 +12,6 @@
#include "base/bind.h"
#include "base/callback.h"
#include "base/command_line.h"
#include "base/lazy_instance.h"
#include "base/values.h"
#include "build/build_config.h"
......@@ -30,7 +29,6 @@
#include "chrome/common/chrome_features.h"
#include "chrome/common/extensions/api/input_method_private.h"
#include "chrome/common/pref_names.h"
#include "chromeos/constants/chromeos_switches.h"
#include "components/prefs/pref_service.h"
#include "components/prefs/scoped_user_pref_update.h"
#include "components/sync/driver/sync_service.h"
......@@ -86,10 +84,7 @@ InputMethodPrivateGetInputMethodConfigFunction::Run() {
EXTENSION_FUNCTION_VALIDATE(false);
#else
std::unique_ptr<base::DictionaryValue> output(new base::DictionaryValue());
output->SetBoolean(
"isPhysicalKeyboardAutocorrectEnabled",
!base::CommandLine::ForCurrentProcess()->HasSwitch(
chromeos::switches::kDisablePhysicalKeyboardAutocorrect));
output->SetBoolean("isPhysicalKeyboardAutocorrectEnabled", true);
output->SetBoolean("isImeMenuActivated",
Profile::FromBrowserContext(browser_context())
->GetPrefs()
......
......@@ -1389,11 +1389,6 @@
// it can badly break pages under test.
"expiry_milestone": -1
},
{
"name": "enable-physical-keyboard-autocorrect",
// "owners": [ "your-team" ],
"expiry_milestone": 76
},
{
"name": "enable-pixel-canvas-recording",
"owners": [ "malaykeshav", "oshima" ],
......
......@@ -3154,11 +3154,6 @@ const char kNewZipUnpackerName[] = "ZIP Archiver (unpacking)";
const char kNewZipUnpackerDescription[] =
"Use the ZIP Archiver for mounting/unpacking ZIP files";
const char kPhysicalKeyboardAutocorrectName[] = "Physical keyboard autocorrect";
const char kPhysicalKeyboardAutocorrectDescription[] =
"Enable physical keyboard autocorrect for US keyboard, which can provide "
"suggestions as typing on physical keyboard.";
const char kPrinterProviderSearchAppName[] =
"Chrome Web Store Gallery app for printer drivers";
const char kPrinterProviderSearchAppDescription[] =
......
......@@ -1903,9 +1903,6 @@ extern const char kNetworkPortalNotificationDescription[];
extern const char kNewZipUnpackerName[];
extern const char kNewZipUnpackerDescription[];
extern const char kPhysicalKeyboardAutocorrectName[];
extern const char kPhysicalKeyboardAutocorrectDescription[];
extern const char kPrinterProviderSearchAppName[];
extern const char kPrinterProviderSearchAppDescription[];
......
......@@ -237,10 +237,6 @@ const char kDisableMultiDisplayLayout[] = "disable-multi-display-layout";
// Disables per-user timezone.
const char kDisablePerUserTimezone[] = "disable-per-user-timezone";
// Disables suggestions while typing on a physical keyboard.
const char kDisablePhysicalKeyboardAutocorrect[] =
"disable-physical-keyboard-autocorrect";
// Disables rollback option on reset screen.
const char kDisableRollbackOption[] = "disable-rollback-option";
......@@ -295,10 +291,6 @@ const char kEnableFirstRunUITransitions[] = "enable-first-run-ui-transitions";
// Enables the marketing opt-in screen in OOBE.
const char kEnableMarketingOptInScreen[] = "enable-market-opt-in";
// Enables suggestions while typing on a physical keyboard.
const char kEnablePhysicalKeyboardAutocorrect[] =
"enable-physical-keyboard-autocorrect";
// Enables request of tablet site (via user agent override).
const char kEnableRequestTabletSite[] = "enable-request-tablet-site";
......
......@@ -85,8 +85,6 @@ extern const char kDisableMultiDisplayLayout[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kDisableNewZIPUnpacker[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
extern const char kDisablePerUserTimezone[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
extern const char kDisablePhysicalKeyboardAutocorrect[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS) extern const char kDisableRollbackOption[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
extern const char kDisableSigninFrameClientCerts[];
......@@ -112,8 +110,6 @@ extern const char kEnableFirstRunUITransitions[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
extern const char kEnableMarketingOptInScreen[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
extern const char kEnablePhysicalKeyboardAutocorrect[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
extern const char kEnableRequestTabletSite[];
COMPONENT_EXPORT(CHROMEOS_CONSTANTS)
extern const char kEnableTouchCalibrationSetting[];
......
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