| Index: chrome/browser/chromeos/events/event_rewriter.cc
|
| diff --git a/chrome/browser/chromeos/events/event_rewriter.cc b/chrome/browser/chromeos/events/event_rewriter.cc
|
| index 3c0548a90e750b763dd02e7e576e3a33a1ac958b..25794d9c9c8856843dffec24bda7277d2aa55522 100644
|
| --- a/chrome/browser/chromeos/events/event_rewriter.cc
|
| +++ b/chrome/browser/chromeos/events/event_rewriter.cc
|
| @@ -40,9 +40,6 @@ namespace {
|
|
|
| const int kBadDeviceId = -1;
|
|
|
| -const char kNeo2LayoutId[] = "xkb:de:neo:ger";
|
| -const char kCaMultixLayoutId[] = "xkb:ca:multix:fra";
|
| -
|
| // A key code and a flag we should use when a key is remapped to |remap_to|.
|
| const struct ModifierRemapping {
|
| int remap_to;
|
| @@ -126,8 +123,7 @@ bool IsMod3UsedByCurrentInputMethod() {
|
| // TODO(yusukes): Remove the restriction.
|
| chromeos::input_method::InputMethodManager* manager =
|
| chromeos::input_method::InputMethodManager::Get();
|
| - return manager->GetCurrentInputMethod().id() == kNeo2LayoutId ||
|
| - manager->GetCurrentInputMethod().id() == kCaMultixLayoutId;
|
| + return manager->IsMod3UsedByCurrentInputMethod();
|
| }
|
|
|
| } // namespace
|
|
|