NetSurf
|
Content which corresponds to a single URL. More...
#include <content_protected.h>
Data Fields | |
struct llcache_handle * | llcache |
Low-level cache object. More... | |
lwc_string * | mime_type |
Original MIME type of data. More... | |
const struct content_handler * | handler |
Handler for content. More... | |
content_status | status |
Current status. More... | |
int | width |
Width dimension, if applicable. More... | |
int | height |
Height dimension, if applicable. More... | |
int | available_width |
Viewport width. More... | |
int | available_height |
Viewport height. More... | |
bool | quirks |
Content is in quirks mode. More... | |
char * | fallback_charset |
Fallback charset, or NULL. More... | |
struct nsurl * | refresh |
URL for refresh request. More... | |
struct content_rfc5988_link * | links |
list of metadata links More... | |
uint64_t | time |
Creation timestamp when LOADING or READY. More... | |
uint64_t | reformat_time |
Earliest time to attempt a period reflow while fetching a page's objects. More... | |
unsigned int | size |
Estimated size of all data associated with this content. More... | |
char * | title |
Title for browser window. More... | |
unsigned int | active |
Number of child fetches or conversions currently in progress. More... | |
struct content_user * | user_list |
List of users. More... | |
char | status_message [120] |
Full text for status bar. More... | |
char | sub_status [80] |
Status of content. More... | |
bool | locked |
Content is being processed: data structures may be inconsistent and content must not be redrawn or modified. More... | |
unsigned long | total_size |
Total data size, 0 if unknown. More... | |
long | http_code |
HTTP status code, 0 if not HTTP. More... | |
struct { | |
char * string | |
struct textsearch_context * context | |
} | textsearch |
Free text search state. More... | |
Content which corresponds to a single URL.
Definition at line 180 of file content_protected.h.
unsigned int content::active |
Number of child fetches or conversions currently in progress.
Definition at line 260 of file content_protected.h.
Referenced by content__clone(), content__init(), exec_src_script(), html_begin_conversion(), html_can_begin_conversion(), html_convert(), html_create_html_data(), html_css_new_stylesheets(), html_css_process_link(), html_css_process_modified_style(), html_css_quirks_stylesheets(), html_fetch_object(), html_object_abort_objects(), html_object_callback(), html_proceed_to_done(), html_replace_object(), html_stop(), and html_stylesheet_from_domnode().
int content::available_height |
Viewport height.
Definition at line 216 of file content_protected.h.
Referenced by content__init(), content__reformat(), and html_object_callback().
int content::available_width |
Viewport width.
Definition at line 212 of file content_protected.h.
Referenced by content__clone(), content__get_available_width(), content__init(), content__reformat(), and html_object_callback().
struct textsearch_context* content::context |
Definition at line 293 of file content_protected.h.
Referenced by content__init(), content_close(), content_textsearch(), content_textsearch__clear(), text_redraw(), and textplain_redraw().
char* content::fallback_charset |
Fallback charset, or NULL.
Definition at line 225 of file content_protected.h.
Referenced by content__clone(), content__init(), content_destroy(), content_factory_create_content(), gif_create(), javascript_create(), nsjpeg_create(), nsjpegxl_create(), nsvideo_create(), rsvg_create(), and webp_create().
const struct content_handler* content::handler |
Handler for content.
Definition at line 194 of file content_protected.h.
Referenced by content__clone(), content__get_bitmap(), content__get_encoding(), content__get_opaque(), content__init(), content__reformat(), content_abort(), content_add_user(), content_can_reformat(), content_clear_selection(), content_clone(), content_close(), content_convert(), content_debug(), content_debug_dump(), content_destroy(), content_drop_file_at_point(), content_exec(), content_factory_create_content(), content_get_contextual_content(), content_get_selection(), content_get_type(), content_is_shareable(), content_keypress(), content_llcache_callback(), content_matches_quirks(), content_mouse_action(), content_mouse_track(), content_open(), content_redraw(), content_remove_user(), content_saw_insecure_objects(), content_scaled_redraw(), content_scroll_at_point(), content_textsearch_create(), gif_create(), javascript_create(), nsjpeg_create(), nsjpegxl_create(), nsvideo_create(), rsvg_create(), search_text(), selection_copy(), selection_redraw(), selection_reinit(), and webp_create().
int content::height |
Height dimension, if applicable.
Definition at line 208 of file content_protected.h.
Referenced by amiga_plugin_hack_open(), amiga_plugin_hack_reformat(), content__clone(), content__get_height(), content__init(), gif_convert(), html_reformat(), image_cache_add(), info_callback(), jpegxl_cache_convert(), nsbmp_convert(), nsico_convert(), nsjpeg_convert(), nsjpegxl_convert(), nspng_convert(), nssprite_convert(), rsvg_cache_convert(), rsvg_convert(), svg_redraw_internal(), svg_reformat(), textplain_reformat(), and webp_convert().
long content::http_code |
HTTP status code, 0 if not HTTP.
Definition at line 286 of file content_protected.h.
Referenced by content__clone(), and content__init().
struct content_rfc5988_link* content::links |
list of metadata links
Definition at line 235 of file content_protected.h.
Referenced by content__add_rfc5988_link(), content_destroy(), and content_find_rfc5988_link().
struct llcache_handle* content::llcache |
Low-level cache object.
Definition at line 184 of file content_protected.h.
Referenced by content__clone(), content__get_source_data(), content__get_title(), content__init(), content__invalidate_reuse_data(), content_abort(), content_add_user(), content_close(), content_convert(), content_destroy(), content_get_llcache_handle(), content_get_url(), content_llcache_callback(), content_open(), content_remove_user(), gif_convert(), image_cache_snentryf(), nsbmp_convert(), nsico_convert(), nsjpeg_convert(), nsjpegxl_convert(), nspng_convert(), and nssprite_convert().
bool content::locked |
Content is being processed: data structures may be inconsistent and content must not be redrawn or modified.
Definition at line 277 of file content_protected.h.
Referenced by content__clone(), content__init(), content__is_locked(), content__reformat(), content_convert(), content_destroy(), content_exec(), content_redraw(), content_scaled_redraw(), content_set_error(), and content_set_ready().
lwc_string* content::mime_type |
Original MIME type of data.
Definition at line 189 of file content_protected.h.
Referenced by content__clone(), content__get_mime_type(), content__init(), and content_destroy().
bool content::quirks |
Content is in quirks mode.
Definition at line 221 of file content_protected.h.
Referenced by content__clone(), content__init(), content_factory_create_content(), content_get_quirks(), exec_src_script(), gif_create(), html_css_new_stylesheets(), html_css_process_link(), html_css_quirks_stylesheets(), html_fetch_object(), html_replace_object(), html_stylesheet_from_domnode(), javascript_create(), nscss_clone(), nscss_create_css_data(), nscss_matches_quirks(), nsjpeg_create(), nsjpegxl_create(), nsvideo_create(), rsvg_create(), and webp_create().
uint64_t content::reformat_time |
Earliest time to attempt a period reflow while fetching a page's objects.
Definition at line 247 of file content_protected.h.
Referenced by content__clone(), html_object_callback(), and html_reformat().
struct nsurl* content::refresh |
URL for refresh request.
Definition at line 230 of file content_protected.h.
Referenced by content__clone(), content__get_refresh_url(), content__init(), html_destroy(), and html_process_inserted_meta().
unsigned int content::size |
Estimated size of all data associated with this content.
Definition at line 252 of file content_protected.h.
Referenced by content__clone(), content__get_source_data(), content__init(), content_get_source_data(), gif_convert(), html_process_data(), image_cache_speculate(), info_callback(), jpegxl_cache_convert(), nsbmp_convert(), nscss_clone(), nscss_content_done(), nscss_process_css_data(), nscss_process_data(), nsico_convert(), nsjpeg_convert(), nsjpegxl_convert(), nspng_process_data(), nsvideo_process_data(), rsvg_clone(), rsvg_convert(), rsvg_process_data(), textplain_process_data(), and webp_convert().
content_status content::status |
Current status.
Definition at line 199 of file content_protected.h.
Referenced by amiga_plugin_hack_clone(), content__clone(), content__get_status(), content__init(), content__reformat(), content_close(), content_convert(), content_llcache_callback(), content_set_done(), content_set_error(), content_set_ready(), content_update_status(), gif_clone(), html_object_callback(), html_replace_object(), html_stop(), nsbmp_clone(), nscss_clone(), nsico_clone(), nsjpeg_clone(), nsjpegxl_clone(), nspng_clone(), nssprite_clone(), rsvg_clone(), svg_clone(), textplain_clone(), and webp_clone().
char content::status_message[120] |
Full text for status bar.
Definition at line 268 of file content_protected.h.
Referenced by content__clone(), content__get_status_message(), content_set_status(), and content_update_status().
char* content::string |
Definition at line 292 of file content_protected.h.
Referenced by content__init(), content_textsearch(), content_textsearch__clear(), and nscss_dump_computed_style().
char content::sub_status[80] |
Status of content.
Definition at line 272 of file content_protected.h.
Referenced by content__clone(), content__init(), content_set_status(), and content_update_status().
struct { ... } content::textsearch |
Free text search state.
Referenced by content__init(), content_close(), content_textsearch(), content_textsearch__clear(), text_redraw(), and textplain_redraw().
uint64_t content::time |
Creation timestamp when LOADING or READY.
Total time in ms when DONE.
Definition at line 241 of file content_protected.h.
Referenced by content__clone(), content__init(), content_set_done(), and content_update_status().
char* content::title |
Title for browser window.
Definition at line 256 of file content_protected.h.
Referenced by content__clone(), content__get_title(), content__init(), content__set_title(), content_destroy(), and nsbmp_convert().
unsigned long content::total_size |
Total data size, 0 if unknown.
Definition at line 282 of file content_protected.h.
Referenced by content__clone(), and content__init().
struct content_user* content::user_list |
List of users.
Definition at line 264 of file content_protected.h.
Referenced by content__clone(), content__init(), content_add_user(), content_broadcast(), content_broadcast_error(), content_count_users(), content_destroy(), and content_remove_user().
int content::width |
Width dimension, if applicable.
Definition at line 204 of file content_protected.h.
Referenced by amiga_plugin_hack_open(), amiga_plugin_hack_reformat(), content__clone(), content__get_width(), content__init(), content_scaled_redraw(), gif_convert(), html_reformat(), image_cache_add(), info_callback(), jpegxl_cache_convert(), layout_lists(), nsbmp_convert(), nsico_convert(), nsjpeg_convert(), nsjpegxl_convert(), nspng_convert(), nssprite_convert(), rsvg_cache_convert(), rsvg_convert(), svg_redraw_internal(), svg_reformat(), textplain_reformat(), and webp_convert().