1use dom_struct::dom_struct;
6use js::context::JSContext;
7use script_bindings::reflector::Reflector;
8
9use crate::dom::bindings::codegen::Bindings::PluginBinding::PluginMethods;
10use crate::dom::bindings::root::DomRoot;
11use crate::dom::bindings::str::DOMString;
12use crate::dom::mimetype::MimeType;
13
14#[dom_struct]
15pub(crate) struct Plugin {
16 reflector_: Reflector,
17}
18
19impl PluginMethods<crate::DomTypeHolder> for Plugin {
20 fn Name(&self) -> DOMString {
22 unreachable!()
23 }
24
25 fn Description(&self) -> DOMString {
27 unreachable!()
28 }
29
30 fn Filename(&self) -> DOMString {
32 unreachable!()
33 }
34
35 fn Length(&self) -> u32 {
37 unreachable!()
38 }
39
40 fn Item(&self, _index: u32) -> Option<DomRoot<MimeType>> {
42 unreachable!()
43 }
44
45 fn NamedItem(&self, _name: DOMString) -> Option<DomRoot<MimeType>> {
47 unreachable!()
48 }
49
50 fn IndexedGetter(&self, _index: u32) -> Option<DomRoot<MimeType>> {
52 unreachable!()
53 }
54
55 fn NamedGetter(&self, _name: DOMString) -> Option<DomRoot<MimeType>> {
57 unreachable!()
58 }
59
60 fn SupportedPropertyNames(&self, _: &mut JSContext) -> Vec<DOMString> {
62 unreachable!()
63 }
64}