Generate bindings for HTMLBodyElement

This commit is contained in:
Junyoung Cho 2013-08-08 16:39:19 +09:00
parent 4800ddf742
commit 6241064681
10 changed files with 95 additions and 5 deletions

View file

@ -0,0 +1,54 @@
/* 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::{DOMString, null_string, ErrorResult};
use dom::htmlelement::HTMLElement;
pub struct HTMLBodyElement {
parent: HTMLElement
}
impl HTMLBodyElement {
pub fn Text(&self) -> DOMString {
null_string
}
pub fn SetText(&mut self, _text: &DOMString, _rv: &mut ErrorResult) {
}
pub fn Link(&self) -> DOMString {
null_string
}
pub fn SetLink(&self, _link: &DOMString, _rv: &mut ErrorResult) {
}
pub fn VLink(&self) -> DOMString {
null_string
}
pub fn SetVLink(&self, _v_link: &DOMString, _rv: &mut ErrorResult) {
}
pub fn ALink(&self) -> DOMString {
null_string
}
pub fn SetALink(&self, _a_link: &DOMString, _rv: &mut ErrorResult) {
}
pub fn BgColor(&self) -> DOMString {
null_string
}
pub fn SetBgColor(&self, _bg_color: &DOMString, _rv: &mut ErrorResult) {
}
pub fn Background(&self) -> DOMString {
null_string
}
pub fn SetBackground(&self, _background: &DOMString, _rv: &mut ErrorResult) {
}
}