Generate bindings for HTMLTitleElement

This commit is contained in:
Yusuke Suzuki 2013-08-08 01:48:02 +09:00 committed by Josh Matthews
parent 2ab430b9b1
commit 6f2c24eca7
10 changed files with 48 additions and 8 deletions

View file

@ -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::{DOMString, null_string, ErrorResult};
use dom::htmlelement::HTMLElement;
pub struct HTMLTitleElement {
parent: HTMLElement,
}
impl HTMLTitleElement {
pub fn Text(&self) -> DOMString {
null_string
}
pub fn SetText(&mut self, _text: &DOMString, _rv: &mut ErrorResult) {
}
}