From 1537981da5415302438489617422b0e3f9b4c6e9 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 10 Feb 2010 23:37:06 +0000 Subject: cache the status text to reduce teh number of window status update calls to teh frontend svn path=/trunk/netsurf/; revision=9965 --- desktop/browser.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'desktop/browser.h') diff --git a/desktop/browser.h b/desktop/browser.h index ee777c832..9743054e7 100644 --- a/desktop/browser.h +++ b/desktop/browser.h @@ -175,6 +175,12 @@ struct browser_window { struct search_context *search_context; struct form_control *visible_select_menu; + + /** cache of the currently displayed status text. */ + char *status_text; + int status_text_len; + int status_match; + int status_miss; }; -- cgit v1.2.3