diff options
author | bors-servo <metajack+bors@gmail.com> | 2014-12-15 15:06:59 -0700 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2014-12-15 15:06:59 -0700 |
commit | d75e85261fd777405482e1a194dff1b5111808d7 (patch) | |
tree | c409f4516cc6e7a2ad2fb73ecf87378dc7f62e92 | |
parent | 4e187af2f17339df25fb1dfaf91821d0f53cba5e (diff) | |
parent | d3c669db45cf1dee66353cdb5e0372c4eb109956 (diff) | |
download | servo-d75e85261fd777405482e1a194dff1b5111808d7.tar.gz servo-d75e85261fd777405482e1a194dff1b5111808d7.zip |
auto merge of #4375 : michaelwu/servo/fix-gonk-20141215, r=glennw
This updates azure to pick up a gonk fix - https://github.com/servo/rust-azure/pull/120 and adds a stub function to the window.
-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(); |