add automaticaly generated property setter and getters to HTMLMenuElement

This commit is contained in:
Vincent Sanders 2015-10-13 23:31:52 +01:00
parent b667375dcc
commit 2f129cdef7
3 changed files with 16 additions and 4 deletions

View File

@ -1130,8 +1130,6 @@ getter HTMLMediaElement::textTracks(user);\n
getter HTMLMediaElement::videoTracks(user);\n
getter HTMLMediaElement::volume(double);\n
setter HTMLMediaElement::volume(double);\n
getter HTMLMenuElement::compact(boolean);\n
setter HTMLMenuElement::compact(boolean);\n
getter HTMLMenuElement::label(string);\n
setter HTMLMenuElement::label(string);\n
getter HTMLMenuElement::type(string);\n

View File

@ -0,0 +1,14 @@
/* HTML menu 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 HTMLMenuElement(struct dom_html_element *html_menu_element::html_element);
getter HTMLMenuElement::compact();
setter HTMLMenuElement::compact();

View File

@ -88,6 +88,8 @@ struct dom_html_br_element;
#include "HTMLLinkElement.bnd"
#include "HTMLMapElement.bnd"
#include "HTMLMarqueeElement.bnd"
#include "HTMLMenuElement.bnd"
#include "HTMLMetaElement.bnd"
init HTMLUnknownElement(struct dom_html_element *html_unknown_element::html_element);
init HTMLDirectoryElement(struct dom_html_element *html_directory_element::html_element);
@ -96,7 +98,6 @@ init HTMLTemplateElement(struct dom_html_element *html_template_element::html_el
init HTMLScriptElement(struct dom_html_element *html_script_element::html_element);
init HTMLDialogElement(struct dom_html_element *html_dialog_element::html_element);
init HTMLMenuItemElement(struct dom_html_element *html_menu_item_element::html_element);
init HTMLMenuElement(struct dom_html_element *html_menu_element::html_element);
init HTMLDetailsElement(struct dom_html_element *html_details_element::html_element);
init HTMLFieldSetElement(struct dom_html_element *html_field_set_element::html_element);
init HTMLMeterElement(struct dom_html_element *html_meter_element::html_element);
@ -133,7 +134,6 @@ init HTMLQuoteElement(struct dom_html_element *html_quote_element::html_element)
init HTMLPreElement(struct dom_html_element *html_pre_element::html_element);
init HTMLParagraphElement(struct dom_html_element *html_paragraph_element::html_element);
init HTMLStyleElement(struct dom_html_element *html_style_element::html_element);
init HTMLMetaElement(struct dom_html_element *html_meta_element::html_element);
init HTMLTitleElement(struct dom_html_element *html_title_element::html_element);
init HTMLHeadElement(struct dom_html_element *html_head_element::html_element);