mojo: Fix double character inserts on Windows by removing a Linux hack.

If we're going to make mojo a write-once-run-anywhere platform, we'll
have to smooth over platform differences in event handling. Currently,
we have code that tries to emulate this behaviour at different levels
of the chrome stack on Linux. This emulation code lead to the double
character insertion bug on Windows: things looked fine on Linux
because we had another hack to cover up the lack of character events,
which just caused double character insertion on Windows.

In this patch, we declare the Windows style of events (a keydown,
a translated character event, a keyup) as canonical and what
should be targeted going forward.

BUG=403514

Review URL: https://codereview.chromium.org/476283006

Cr-Commit-Position: refs/heads/master@{#292222}


CrOS-Libchrome-Original-Commit: ff091da898d1079cb8aca10d3016f6bc2471fc89
11 files changed
tree: 05d009e3e5c5d55e80de02baa3d00ad88c63da44
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/