|
NetSurf
|
Data specific to CONTENT_HTML. More...
#include <private.h>
Data Fields | |
| struct content | base |
| dom_hubbub_parser * | parser |
| Parser object handle. More... | |
| bool | parse_completed |
| Whether the parse has been completed. More... | |
| bool | conversion_begun |
| Whether or not the conversion has begun. More... | |
| dom_document * | document |
| Document tree. More... | |
| dom_document_quirks_mode | quirks |
| Quirkyness of document. More... | |
| char * | encoding |
| Encoding of source, NULL if unknown. More... | |
| dom_hubbub_encoding_source | encoding_source |
| Source of encoding information. More... | |
| struct nsurl * | base_url |
| Base URL (may be a copy of content->url). More... | |
| char * | base_target |
| Base target. More... | |
| bool | aborted |
| Content has been aborted in the LOADING state. More... | |
| bool | refresh |
| Whether a meta refresh has been handled. More... | |
| bool | reflowing |
| Whether a layout (reflow) is in progress. More... | |
| bool | had_initial_layout |
| Whether an initial layout has been done. More... | |
| bool | enable_scripting |
| Whether scripts are enabled for this content. More... | |
| dom_node * | title |
| int * | bctx |
| A talloc context purely for the render box tree. More... | |
| void * | box_conversion_context |
| A context pointer for the box conversion, NULL if no conversion is in progress. More... | |
| struct box * | layout |
| Box tree, or NULL. More... | |
| colour | background_colour |
| Document background colour. More... | |
| const struct gui_layout_table * | font_func |
| Font callback table. More... | |
| unsigned int | scripts_count |
| Number of entries in scripts. More... | |
| struct html_script * | scripts |
| Scripts. More... | |
| struct jsthread * | jsthread |
| javascript thread in use More... | |
| unsigned int | stylesheet_count |
| Number of entries in stylesheet_content. More... | |
| struct html_stylesheet * | stylesheets |
| Stylesheets. More... | |
| css_select_ctx * | select_ctx |
| Style selection media specification. More... | |
| css_media | media |
| css_unit_ctx | unit_len_ctx |
| CSS length conversion context for document. More... | |
| lwc_string * | universal |
| unsigned int | num_objects |
| Number of entries in object_list. More... | |
| struct content_html_object * | object_list |
| List of objects. More... | |
| struct form * | forms |
| Forms, in reverse order to document. More... | |
| struct imagemap ** | imagemaps |
| Hash table of imagemaps. More... | |
| struct browser_window * | bw |
| Browser window containing this document, or NULL if not open. More... | |
| struct content_html_frames * | frameset |
| Frameset information. More... | |
| struct content_html_iframe * | iframe |
| Inline frame information. More... | |
| struct html_content * | page |
| Content of type CONTENT_HTML containing this, or NULL if not an object within a page. More... | |
| html_drag_type | drag_type |
| Current drag type. More... | |
| union html_drag_owner | drag_owner |
| Widget capturing all mouse events. More... | |
| html_selection_type | selection_type |
| Current selection state. More... | |
| union html_selection_owner | selection_owner |
| Current selection owner. More... | |
| html_focus_type | focus_type |
| Current input focus target type. More... | |
| union html_focus_owner | focus_owner |
| Current input focus target. More... | |
| struct selection * | sel |
| HTML content's own text selection object. More... | |
| struct form_control * | visible_select_menu |
| Open core-handled form SELECT menu, or NULL if none currently open. More... | |
| bool html_content::aborted |
Content has been aborted in the LOADING state.
Definition at line 116 of file private.h.
Referenced by html_begin_conversion(), html_box_convert_done(), html_create_html_data(), html_fetch_object(), html_finish_conversion(), and html_stop().
| colour html_content::background_colour |
Document background colour.
Definition at line 142 of file private.h.
Referenced by html_create_html_data(), and html_redraw().
| struct content html_content::base |
Definition at line 94 of file private.h.
Referenced by dom_default_action_DOMNodeInserted_cb(), exec_inline_script(), exec_src_script(), html_begin_conversion(), html_box_convert_done(), html_can_begin_conversion(), html_convert(), html_create(), html_create_html_data(), html_create_style_element(), html_css_new_stylesheets(), html_css_process_link(), html_css_process_modified_style(), html_css_quirks_stylesheets(), html_fetch_object(), html_finish_conversion(), html_get_dimensions(), html_object_abort_objects(), html_object_callback(), html_object_open_objects(), html_proceed_to_done(), html_process_inserted_link(), html_process_inserted_meta(), html_process_script(), html_process_title(), html_replace_object(), and html_stylesheet_from_domnode().
| char* html_content::base_target |
Base target.
Definition at line 113 of file private.h.
Referenced by html_create_html_data(), html_destroy(), html_get_base_target(), and html_process_inserted_base().
| struct nsurl* html_content::base_url |
Base URL (may be a copy of content->url).
Definition at line 111 of file private.h.
Referenced by box_get_style(), box_normalise_block(), box_normalise_flex(), box_normalise_table(), box_normalise_table_row(), box_normalise_table_row_group(), box_normalise_table_spans(), exec_src_script(), html_begin_conversion(), html_create_html_data(), html_css_process_link(), html_destroy(), html_get_base_url(), html_process_inserted_base(), html_process_inserted_img(), html_process_inserted_link(), html_process_inserted_meta(), html_stylesheet_from_domnode(), and imagemap_extract_map_entries().
| int* html_content::bctx |
A talloc context purely for the render box tree.
Definition at line 134 of file private.h.
Referenced by box_input_text(), box_normalise_block(), box_normalise_flex(), box_normalise_table(), box_normalise_table_row(), box_normalise_table_row_group(), box_normalise_table_spans(), dom_to_box(), form__select_process_selection(), html_create_html_data(), and html_free_layout().
| void* html_content::box_conversion_context |
A context pointer for the box conversion, NULL if no conversion is in progress.
Definition at line 138 of file private.h.
Referenced by html_box_convert_done(), html_destroy(), and html_finish_conversion().
| struct browser_window* html_content::bw |
Browser window containing this document, or NULL if not open.
Definition at line 177 of file private.h.
Referenced by box_textarea_callback(), box_textarea_keypress(), default_mouse_action(), form_select_menu_scroll_callback(), html_close(), html_create_html_data(), html_object_callback(), and html_open().
| bool html_content::conversion_begun |
Whether or not the conversion has begun.
Definition at line 98 of file private.h.
Referenced by html_begin_conversion(), and html_create_html_data().
| dom_document* html_content::document |
Document tree.
Definition at line 101 of file private.h.
Referenced by dom_SCRIPT_showed_up(), html_begin_conversion(), html_box_convert_done(), html_convert(), html_create_html_data(), html_debug_dump(), html_destroy(), html_exec(), html_finish_conversion(), html_get_document(), html_process_encoding_change(), and imagemap_extract().
| union html_drag_owner html_content::drag_owner |
Widget capturing all mouse events.
Definition at line 192 of file private.h.
Referenced by html_create_html_data(), html_open(), html_set_drag_type(), mouse_action_drag_content(), mouse_action_drag_scrollbar(), and mouse_action_drag_textarea().
| html_drag_type html_content::drag_type |
Current drag type.
Definition at line 190 of file private.h.
Referenced by html_create_html_data(), html_mouse_action(), html_open(), and html_set_drag_type().
| bool html_content::enable_scripting |
Whether scripts are enabled for this content.
Definition at line 128 of file private.h.
Referenced by dom_default_action_DOMNodeInserted_cb(), dom_SCRIPT_showed_up(), html_create_html_data(), and html_process_encoding_change().
| char* html_content::encoding |
Encoding of source, NULL if unknown.
Definition at line 106 of file private.h.
Referenced by box_get_style(), exec_src_script(), html_begin_conversion(), html_create_html_data(), html_css_new_stylesheets(), html_css_process_link(), html_css_quirks_stylesheets(), html_destroy(), html_encoding(), html_fetch_object(), html_process_encoding_change(), html_replace_object(), and html_stylesheet_from_domnode().
| dom_hubbub_encoding_source html_content::encoding_source |
Source of encoding information.
Definition at line 108 of file private.h.
Referenced by html_begin_conversion(), html_create_html_data(), html_encoding(), and html_process_encoding_change().
| union html_focus_owner html_content::focus_owner |
Current input focus target.
Definition at line 202 of file private.h.
Referenced by html_create_html_data(), html_keypress(), and html_set_focus().
| html_focus_type html_content::focus_type |
Current input focus target type.
Definition at line 200 of file private.h.
Referenced by default_mouse_action(), html_create_html_data(), html_keypress(), and html_set_focus().
| const struct gui_layout_table* html_content::font_func |
Font callback table.
Definition at line 145 of file private.h.
Referenced by html_create_html_data().
| struct form* html_content::forms |
Forms, in reverse order to document.
Definition at line 172 of file private.h.
Referenced by html_begin_conversion(), html_create_html_data(), and html_destroy().
| struct content_html_frames* html_content::frameset |
Frameset information.
Definition at line 180 of file private.h.
Referenced by html_box_convert_done(), html_create_html_data(), html_destroy(), and html_get_frameset().
| bool html_content::had_initial_layout |
Whether an initial layout has been done.
Definition at line 125 of file private.h.
Referenced by html_object_callback(), and html_reformat().
| struct content_html_iframe* html_content::iframe |
Inline frame information.
Definition at line 183 of file private.h.
Referenced by html_create_html_data(), html_destroy(), and html_get_iframe().
| struct imagemap** html_content::imagemaps |
Hash table of imagemaps.
Definition at line 174 of file private.h.
Referenced by html_create_html_data(), imagemap_add(), imagemap_create(), imagemap_destroy(), imagemap_dump(), and imagemap_get().
| struct jsthread* html_content::jsthread |
javascript thread in use
Definition at line 152 of file private.h.
Referenced by dom_default_action_DOMNodeInserted_cb(), dom_default_action_finished_cb(), exec_inline_script(), html_close(), html_create_html_data(), html_destroy(), html_finish_conversion(), html_process_script(), html_script_exec(), and html_stop().
| struct box* html_content::layout |
Box tree, or NULL.
Definition at line 140 of file private.h.
Referenced by box_pick_text_box(), convert_xml_to_box(), get_mouse_action_node(), html_box_convert_done(), html_create_html_data(), html_debug_dump(), html_drop_file_at_point(), html_get_box_tree(), html_get_contextual_content(), html_keypress(), html_redraw(), html_reformat(), html_scroll_at_point(), html_textsearch_find(), html_textselection_copy(), html_textselection_get_end(), and html_textselection_redraw().
| css_media html_content::media |
Definition at line 161 of file private.h.
Referenced by box_get_style(), html_create_html_data(), html_destroy(), and html_get_dimensions().
| unsigned int html_content::num_objects |
Number of entries in object_list.
Definition at line 168 of file private.h.
Referenced by html_create_html_data(), html_fetch_object(), and html_get_objects().
| struct content_html_object* html_content::object_list |
List of objects.
Definition at line 170 of file private.h.
Referenced by html_create_html_data(), html_fetch_object(), html_get_objects(), html_object_abort_objects(), html_object_close_objects(), html_object_free_objects(), html_object_open_objects(), and html_saw_insecure_objects().
| struct html_content* html_content::page |
Content of type CONTENT_HTML containing this, or NULL if not an object within a page.
Definition at line 187 of file private.h.
Referenced by html_create_html_data(), html_open(), and html_replace_object().
| bool html_content::parse_completed |
Whether the parse has been completed.
Definition at line 97 of file private.h.
Referenced by exec_src_script(), html_begin_conversion(), and html_create_html_data().
| dom_hubbub_parser* html_content::parser |
Parser object handle.
Definition at line 96 of file private.h.
Referenced by html_begin_conversion(), html_box_convert_done(), html_create_html_data(), html_destroy(), html_process_data(), html_process_encoding_change(), and html_process_script().
| dom_document_quirks_mode html_content::quirks |
Quirkyness of document.
Definition at line 103 of file private.h.
Referenced by box_get_style(), box_normalise_block(), box_normalise_flex(), box_normalise_table(), box_normalise_table_row(), box_normalise_table_row_group(), box_normalise_table_spans(), html_convert(), html_create_html_data(), and html_css_quirks_stylesheets().
| bool html_content::reflowing |
Whether a layout (reflow) is in progress.
Definition at line 122 of file private.h.
Referenced by box_textarea_callback(), html_create_html_data(), html_overflow_scroll_callback(), and html_reformat().
| bool html_content::refresh |
Whether a meta refresh has been handled.
Definition at line 119 of file private.h.
Referenced by html_create_html_data(), and html_process_inserted_meta().
| struct html_script* html_content::scripts |
Scripts.
Definition at line 150 of file private.h.
Referenced by html_create_html_data(), html_process_new_script(), html_saw_insecure_scripts(), html_script_exec(), and html_script_free().
| unsigned int html_content::scripts_count |
Number of entries in scripts.
Definition at line 148 of file private.h.
Referenced by exec_src_script(), html_create_html_data(), html_process_new_script(), html_saw_insecure_scripts(), html_script_exec(), and html_script_free().
| struct selection* html_content::sel |
HTML content's own text selection object.
Definition at line 205 of file private.h.
Referenced by default_mouse_action(), html_clear_selection(), html_close(), html_create_html_data(), html_destroy(), html_get_selection(), html_keypress(), html_open(), html_redraw_text_box(), html_reformat(), html_set_selection(), and mouse_action_drag_selection().
| css_select_ctx* html_content::select_ctx |
Style selection media specification.
Definition at line 159 of file private.h.
Referenced by box_get_style(), box_normalise_block(), box_normalise_flex(), box_normalise_table(), box_normalise_table_row(), box_normalise_table_row_group(), box_normalise_table_spans(), html_create_html_data(), html_destroy(), and html_finish_conversion().
| union html_selection_owner html_content::selection_owner |
Current selection owner.
Definition at line 197 of file private.h.
Referenced by gadget_mouse_action(), html_clear_selection(), html_create_html_data(), html_get_selection(), html_object_mouse_action(), html_open(), and html_set_selection().
| html_selection_type html_content::selection_type |
Current selection state.
Definition at line 195 of file private.h.
Referenced by default_mouse_action(), gadget_mouse_action(), html_clear_selection(), html_create_html_data(), html_get_selection(), html_object_mouse_action(), html_open(), and html_set_selection().
| unsigned int html_content::stylesheet_count |
Number of entries in stylesheet_content.
Definition at line 155 of file private.h.
Referenced by html_can_begin_conversion(), html_create_html_data(), html_create_style_element(), html_css_free_stylesheets(), html_css_new_selection_context(), html_css_new_stylesheets(), html_css_process_link(), html_css_process_modified_styles(), html_css_process_style(), html_css_update_style(), and html_get_stylesheets().
| struct html_stylesheet* html_content::stylesheets |
Stylesheets.
Each may be NULL. Style selection context
Definition at line 157 of file private.h.
Referenced by html_can_begin_conversion(), html_create_html_data(), html_create_style_element(), html_css_free_stylesheets(), html_css_new_selection_context(), html_css_new_stylesheets(), html_css_process_link(), html_css_process_modified_styles(), html_css_process_style(), html_css_quirks_stylesheets(), html_css_saw_insecure_stylesheets(), html_css_update_style(), and html_get_stylesheets().
| dom_node* html_content::title |
Definition at line 131 of file private.h.
Referenced by dom_default_action_DOMSubtreeModified_cb(), html_create_html_data(), html_destroy(), and html_process_inserted_title().
| css_unit_ctx html_content::unit_len_ctx |
CSS length conversion context for document.
Universal selector
Definition at line 163 of file private.h.
Referenced by box_get_style(), box_normalise_block(), box_normalise_flex(), box_normalise_table(), box_normalise_table_row(), box_normalise_table_row_group(), box_normalise_table_spans(), default_mouse_action(), form_open_select_menu(), get_mouse_action_node(), html_drop_file_at_point(), html_get_contextual_content(), html_get_dimensions(), html_object_callback(), html_redraw_box(), html_redraw_text_box(), html_reformat(), html_scroll_at_point(), html_selection_drag_end(), html_textselection_copy(), and mouse_action_drag_selection().
| lwc_string* html_content::universal |
Definition at line 165 of file private.h.
Referenced by box_get_style(), box_normalise_block(), box_normalise_flex(), box_normalise_table(), box_normalise_table_row(), box_normalise_table_row_group(), box_normalise_table_spans(), html_create_html_data(), and html_destroy().
| struct form_control* html_content::visible_select_menu |
Open core-handled form SELECT menu, or NULL if none currently open.
Definition at line 211 of file private.h.
Referenced by form_select_menu_callback(), gadget_mouse_action(), html_mouse_action(), html_redraw(), and mouse_action_select_menu().