cleanup formatting in binding files

This commit is contained in:
Vincent Sanders 2012-11-19 17:23:24 +00:00
parent e042008f2b
commit bb6b546b4b
3 changed files with 4 additions and 33 deletions

View File

@ -30,18 +30,6 @@ binding navigator {
interface Console; /* Web IDL interface to generate */
/* private members:
* - stored in private context structure.
* - passed as parameters to constructor and stored automatically.
* - are *not* considered for property getters/setters.
*
* internal members:
* - value stored in private context structure
* - not passed to constructor
* - must be instantiated by constructor
* - are considered for property getters/setters.
*/
internal "void *" gui_console;
}
operation log %{

View File

@ -30,24 +30,13 @@ preamble %{
%}
binding location {
type js_libdom; /* the binding type */
type js_libdom; /* the binding type */
interface Location; /* Web IDL interface to generate */
interface Location; /* Web IDL interface to generate */
/* private members:
* - stored in private context structure.
* - passed as parameters to constructor and stored automatically.
* - are *not* considered for property getters/setters.
*
* internal members:
* - value stored in private context structure
* - not passed to constructor
* - must be instantiated by constructor
* - are considered for property getters/setters.
*/
private "struct browser_window *" bw;
}
operation reload %{
browser_window_reload(private->bw, false);
browser_window_reload(private->bw, false);
%}

View File

@ -23,15 +23,9 @@ binding window {
interface Window; /* Web IDL interface to generate */
/* private are parameters to constructor stored in private
* context structure.
*
* internal are value stored in private context structure but not
* passed to constructor but are considered for property
* getters/setters.
*/
private "struct browser_window *" bw;
private "struct html_content *" htmlc;
internal "JSObject *" document;
internal "JSObject *" navigator;
internal "JSObject *" console;