aboutsummaryrefslogtreecommitdiffstats
path: root/components/compositing/lib.rs
diff options
context:
space:
mode:
authorPyfisch <pyfisch@gmail.com>2018-10-06 17:35:45 +0200
committerPyfisch <pyfisch@gmail.com>2018-10-07 22:39:00 +0200
commit0ccaa7e1a9e9bf9472d869576019b9cda350ad87 (patch)
tree812a25be7dcad507d183b25d683a9ebaec3d493c /components/compositing/lib.rs
parent76ddbe4d7afd48b83b23f3fd0cff47b214a0a290 (diff)
downloadservo-0ccaa7e1a9e9bf9472d869576019b9cda350ad87.tar.gz
servo-0ccaa7e1a9e9bf9472d869576019b9cda350ad87.zip
Use keyboard-types crate
Have embedders send DOM keys to servo and use a strongly typed KeyboardEvent from the W3C UI Events spec. All keyboard handling now uses the new types. Introduce a ShortcutMatcher to recognize key bindings. Shortcuts are now recognized in a uniform way. Updated the winit port. Updated webdriver integration. part of #20331
Diffstat (limited to 'components/compositing/lib.rs')
-rw-r--r--components/compositing/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/compositing/lib.rs b/components/compositing/lib.rs
index 6b8bfb5aaf7..c5005a6a425 100644
--- a/components/compositing/lib.rs
+++ b/components/compositing/lib.rs
@@ -12,6 +12,7 @@ extern crate gleam;
#[cfg(feature = "gleam")]
extern crate image;
extern crate ipc_channel;
+extern crate keyboard_types;
extern crate libc;
#[macro_use]
extern crate log;