add automaticaly generated property setter and getters to HTMLFrameElement

This commit is contained in:
Vincent Sanders 2015-10-13 09:22:46 +01:00
parent cb178413ef
commit d01cecdf7f
3 changed files with 36 additions and 17 deletions

View File

@ -887,22 +887,6 @@ method HTMLFormElement::reset();\n
method HTMLFormElement::submit();\n method HTMLFormElement::submit();\n
getter HTMLFrameElement::contentDocument(user);\n getter HTMLFrameElement::contentDocument(user);\n
getter HTMLFrameElement::contentWindow(user);\n getter HTMLFrameElement::contentWindow(user);\n
getter HTMLFrameElement::frameBorder(string);\n
setter HTMLFrameElement::frameBorder(string);\n
getter HTMLFrameElement::longDesc(string);\n
setter HTMLFrameElement::longDesc(string);\n
getter HTMLFrameElement::marginHeight(string);\n
setter HTMLFrameElement::marginHeight(string);\n
getter HTMLFrameElement::marginWidth(string);\n
setter HTMLFrameElement::marginWidth(string);\n
getter HTMLFrameElement::name(string);\n
setter HTMLFrameElement::name(string);\n
getter HTMLFrameElement::noResize(boolean);\n
setter HTMLFrameElement::noResize(boolean);\n
getter HTMLFrameElement::scrolling(string);\n
setter HTMLFrameElement::scrolling(string);\n
getter HTMLFrameElement::src(string);\n
setter HTMLFrameElement::src(string);\n
getter HTMLFrameSetElement::cols(string);\n getter HTMLFrameSetElement::cols(string);\n
setter HTMLFrameSetElement::cols(string);\n setter HTMLFrameSetElement::cols(string);\n
getter HTMLFrameSetElement::onafterprint(user);\n getter HTMLFrameSetElement::onafterprint(user);\n

View File

@ -0,0 +1,35 @@
/* HTML form element binding using duktape and libdom
*
* Copyright 2015 Vincent Sanders <vince@netsurf-browser.org>
*
* This file is part of NetSurf, http://www.netsurf-browser.org/
*
* Released under the terms of the MIT License,
* http://www.opensource.org/licenses/mit-license
*/
init HTMLFrameElement(struct dom_html_element *html_frame_element::html_element);
getter HTMLFrameElement::frameBorder();
setter HTMLFrameElement::frameBorder();
getter HTMLFrameElement::longDesc();
setter HTMLFrameElement::longDesc();
getter HTMLFrameElement::marginHeight();
setter HTMLFrameElement::marginHeight();
getter HTMLFrameElement::marginWidth();
setter HTMLFrameElement::marginWidth();
getter HTMLFrameElement::name();
setter HTMLFrameElement::name();
getter HTMLFrameElement::noResize();
setter HTMLFrameElement::noResize();
getter HTMLFrameElement::scrolling();
setter HTMLFrameElement::scrolling();
getter HTMLFrameElement::src();
setter HTMLFrameElement::src();

View File

@ -72,12 +72,12 @@ struct dom_html_br_element;
#include "HTMLElement.bnd" #include "HTMLElement.bnd"
#include "HTMLFontElement.bnd" #include "HTMLFontElement.bnd"
#include "HTMLFormElement.bnd" #include "HTMLFormElement.bnd"
#include "HTMLFrameElement.bnd"
#include "HTMLHRElement.bnd" #include "HTMLHRElement.bnd"
/* specialisations of html_element */ /* specialisations of html_element */
init HTMLUnknownElement(struct dom_html_element *html_unknown_element::html_element); init HTMLUnknownElement(struct dom_html_element *html_unknown_element::html_element);
init HTMLDirectoryElement(struct dom_html_element *html_directory_element::html_element); init HTMLDirectoryElement(struct dom_html_element *html_directory_element::html_element);
init HTMLFrameElement(struct dom_html_element *html_frame_element::html_element);
init HTMLFrameSetElement(struct dom_html_element *html_frame_set_element::html_element); init HTMLFrameSetElement(struct dom_html_element *html_frame_set_element::html_element);
init HTMLMarqueeElement(struct dom_html_element *html_marquee_element::html_element); init HTMLMarqueeElement(struct dom_html_element *html_marquee_element::html_element);
init HTMLCanvasElement(struct dom_html_element *html_canvas_element::html_element); init HTMLCanvasElement(struct dom_html_element *html_canvas_element::html_element);