mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Remove unused DerivedWrapper implementations.
This commit is contained in:
parent
3da1a206d8
commit
f585d218cb
7 changed files with 14 additions and 57 deletions
|
@ -4,13 +4,13 @@
|
|||
|
||||
use dom::bindings::codegen::MouseEventBinding;
|
||||
use dom::bindings::utils::{ErrorResult, Fallible, DOMString};
|
||||
use dom::bindings::utils::{Reflectable, Reflector, BindingObject, DerivedWrapper};
|
||||
use dom::bindings::utils::{Reflectable, Reflector, BindingObject};
|
||||
use dom::eventtarget::EventTarget;
|
||||
use dom::uievent::UIEvent;
|
||||
use dom::window::Window;
|
||||
use dom::windowproxy::WindowProxy;
|
||||
|
||||
use js::jsapi::{JSObject, JSContext, JSVal};
|
||||
use js::jsapi::{JSObject, JSContext};
|
||||
|
||||
pub struct MouseEvent {
|
||||
parent: UIEvent,
|
||||
|
@ -160,9 +160,3 @@ impl BindingObject for MouseEvent {
|
|||
self.parent.GetParentObject(cx)
|
||||
}
|
||||
}
|
||||
|
||||
impl DerivedWrapper for MouseEvent {
|
||||
fn wrap(&mut self, _cx: *JSContext, _scope: *JSObject, _vp: *mut JSVal) -> i32 {
|
||||
fail!(~"nyi")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue