Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix gonk 20141215 #4375

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Next

Add handle_key stub to gonk port

  • Loading branch information
michaelwu committed Dec 15, 2014
commit 814ca68c728146aebf2b7d4a161755afc6fdb325
@@ -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();
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.