diff options
author | Josh Matthews <josh@joshmatthews.net> | 2013-08-26 15:14:35 -0400 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2013-08-26 15:14:35 -0400 |
commit | 7e9caddb391d68bcb678191887fba4d55a2be57a (patch) | |
tree | b9947d8e9e10e997afb94cd168be088943ed5b30 /src/components/script/dom/htmldirectoryelement.rs | |
parent | f68639755d6c0ddc0e1093c2bdec02501aaedf6f (diff) | |
download | servo-7e9caddb391d68bcb678191887fba4d55a2be57a.tar.gz servo-7e9caddb391d68bcb678191887fba4d55a2be57a.zip |
Generate bindings for HTMLDirectoryElement and HTMLEmbedElement
Diffstat (limited to 'src/components/script/dom/htmldirectoryelement.rs')
-rw-r--r-- | src/components/script/dom/htmldirectoryelement.rs | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/components/script/dom/htmldirectoryelement.rs b/src/components/script/dom/htmldirectoryelement.rs new file mode 100644 index 00000000000..2c6899745fb --- /dev/null +++ b/src/components/script/dom/htmldirectoryelement.rs @@ -0,0 +1,19 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +use dom::bindings::utils::ErrorResult; +use dom::htmlelement::HTMLElement; + +pub struct HTMLDirectoryElement { + parent: HTMLElement +} + +impl HTMLDirectoryElement { + pub fn Compact(&self) -> bool { + false + } + + pub fn SetCompact(&mut self, _compact: bool, _rv: &mut ErrorResult) { + } +}
\ No newline at end of file |