diff options
-rw-r--r-- | ports/gonk/Cargo.lock | 2 | ||||
-rw-r--r-- | ports/gonk/src/window.rs | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ports/gonk/Cargo.lock b/ports/gonk/Cargo.lock index 7a7032fe50e..2641812ade7 100644 --- a/ports/gonk/Cargo.lock +++ b/ports/gonk/Cargo.lock @@ -15,7 +15,7 @@ dependencies = [ [[package]] name = "azure" version = "0.1.0" -source = "git+https://github.com/servo/rust-azure#e8323588209b47a07b67f61812c75dfeb2ad6851" +source = "git+https://github.com/servo/rust-azure#bfae54620eaca34df0ae43d2c1082298131c1aad" dependencies = [ "core_foundation 0.1.0 (git+https://github.com/servo/rust-core-foundation)", "core_graphics 0.1.0 (git+https://github.com/servo/rust-core-graphics)", diff --git a/ports/gonk/src/window.rs b/ports/gonk/src/window.rs index 27a21cf308a..d4795f30cee 100644 --- a/ports/gonk/src/window.rs +++ b/ports/gonk/src/window.rs @@ -13,6 +13,7 @@ use layers::platform::surface::NativeGraphicsMetadata; use libc::c_int; use msg::compositor_msg::{Blank, IdlePaintState}; use msg::compositor_msg::{ReadyState, PaintState}; +use msg::constellation_msg::{Key, KeyModifiers}; use msg::constellation_msg::LoadData; use std::cell::Cell; use std::comm::Receiver; @@ -810,6 +811,9 @@ impl WindowMethods for Window { } } + fn handle_key(&self, _: Key, _: KeyModifiers) { + } + fn create_compositor_channel(window: &Option<Rc<Window>>) -> (Box<CompositorProxy+Send>, Box<CompositorReceiver>) { let (sender, receiver) = channel(); |