commit | 9519ba2d14912741dcfa8380541255fe510a4e38 | [log] [tgz] |
---|---|---|
author | Antonio Gomes <tonikitoo@igalia.com> | Tue Dec 19 15:38:45 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Dec 21 18:42:55 2017 |
tree | cce2f312663cbdeeca103b584374b4043cc14f77 | |
parent | 1f39a0ab4d84f7704af79fbb9909334ec1a82de4 [diff] |
[ozone/wayland] Use ui::EventModifiers to handle modifiers CL switches WaylandKeyboard class from using a raw integer to handle keyboard modifiers to using ui::EventModifiers class. Although there is no behavior changed by this CL, it makes it easier to handle more complex cases, in follow up CLs. The CL also changes the KeyboardLayoutManager instantiation order in OzonePlatformWayland::InitializeUI, so that it happens prior to WaylandConnection instantiation. Reason: once WaylandConnection creates WaylandKeyboard it sets its EventModifiers instance in KeyboardLayoutManager, hence the later needs to be properly instantiated by then. BUG=578890 Change-Id: I9d589e72917b83c4319c6046e6b1cad8cca079ad Reviewed-on: https://chromium-review.googlesource.com/832887 Reviewed-by: Robert Kroeger <rjkroege@chromium.org> Commit-Queue: Antonio Gomes <tonikitoo@igalia.com> Cr-Commit-Position: refs/heads/master@{#525749}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .