Commit 722f3c1c authored by Tetsui Ohkubo's avatar Tetsui Ohkubo Committed by Commit Bot

StaticKCM: Remove ExoSendKeyboardLayoutName flag.

StaticKCM was launched in M74.

TEST=manual
BUG=b:122704772

Change-Id: I445e4b019ac570b5728e589deef139298f1391d5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1535468Reviewed-by: default avatarYuichiro Hanada <yhanada@chromium.org>
Reviewed-by: default avatarMitsuru Oshima <oshima@chromium.org>
Commit-Queue: Tetsui Ohkubo <tetsui@chromium.org>
Cr-Commit-Position: refs/heads/master@{#644660}
parent 57b5087f
...@@ -21,11 +21,6 @@ namespace wayland { ...@@ -21,11 +21,6 @@ namespace wayland {
namespace { namespace {
// Send a keyboard layout name instead of XKB contents.
// TODO(tetsui): Remove when the change becomes default.
const base::Feature kSendKeyboardLayoutNameFeature{
"ExoSendKeyboardLayoutName", base::FEATURE_ENABLED_BY_DEFAULT};
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// keyboard_device_configuration interface: // keyboard_device_configuration interface:
...@@ -70,8 +65,6 @@ class WaylandKeyboardDeviceConfigurationDelegate ...@@ -70,8 +65,6 @@ class WaylandKeyboardDeviceConfigurationDelegate
void OnCapsLockChanged(bool enabled) override {} void OnCapsLockChanged(bool enabled) override {}
void OnKeyboardLayoutNameChanged(const std::string& layout_name) override { void OnKeyboardLayoutNameChanged(const std::string& layout_name) override {
if (!base::FeatureList::IsEnabled(kSendKeyboardLayoutNameFeature))
return;
zcr_keyboard_device_configuration_v1_send_layout_change( zcr_keyboard_device_configuration_v1_send_layout_change(
resource_, layout_name.c_str()); resource_, layout_name.c_str());
} }
......
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