| Index: ui/events/ozone/layout/layout_util.cc
|
| diff --git a/ui/events/ozone/layout/layout_util.cc b/ui/events/ozone/layout/layout_util.cc
|
| index ea7dbd6e49a8321516260cc4f15b85b4abe3c7be..b36bf571170fb28f4abf6fd169098cc93bf7b627 100644
|
| --- a/ui/events/ozone/layout/layout_util.cc
|
| +++ b/ui/events/ozone/layout/layout_util.cc
|
| @@ -546,6 +546,10 @@ int ModifierDomKeyToEventFlag(DomKey key) {
|
| return EF_ALT_DOWN;
|
| case DomKey::ALT_GRAPH:
|
| return EF_ALTGR_DOWN;
|
| + // ChromeOS uses F16 to represent CapsLock before the rewriting stage,
|
| + // based on the historical X11 implementation.
|
| + // TODO post-X11: Switch to use CapsLock uniformly.
|
| + case DomKey::F16:
|
| case DomKey::CAPS_LOCK:
|
| return EF_CAPS_LOCK_DOWN;
|
| case DomKey::CONTROL:
|
|
|