From 089fc07d207c71ce1401e72f09c31ad8c45872e2 Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Fri, 15 Aug 2008 23:44:58 -0500 Subject: Second Life viewer sources 1.17.0.12 --- linden/indra/newview/llpanelweb.h | 54 ++++++++++++--------------------------- 1 file changed, 16 insertions(+), 38 deletions(-) (limited to 'linden/indra/newview/llpanelweb.h') diff --git a/linden/indra/newview/llpanelweb.h b/linden/indra/newview/llpanelweb.h index 0703f90..48b0742 100644 --- a/linden/indra/newview/llpanelweb.h +++ b/linden/indra/newview/llpanelweb.h @@ -30,53 +30,31 @@ #define LL_LLPANELWEB_H #include "llpanel.h" +#include "llviewerthrottle.h" -class LLScrollListCtrl; class LLCheckBoxCtrl; -class LLLineEditor; -class LLRadioGroup; -//class LLButton; +class LLButton; class LLPanelWeb : public LLPanel { public: LLPanelWeb(); - virtual ~LLPanelWeb(){}; + virtual ~LLPanelWeb(); virtual BOOL postBuild(); - - void apply(); - void cancel(); - - void loadTrustedSiteList (); - void saveTrustedSiteList (); - - void configProxyEnabledUI ( BOOL enabled ); - static void onCommitProxyEnabled ( LLUICtrl* ctrl, void* data ); - - void configExternaBrowserEnabledUI ( BOOL enabled ); - static void onCommitExternalBrowser ( LLUICtrl* ctrl, void* data ); - - static void onTrustedSiteListCommit ( LLUICtrl* ctrl, void* data ); - static void onTrustedSiteEntryFocusChange ( LLUICtrl* ctrl, void* data ); - static void onTrustedSiteEntryKeystroke ( LLLineEditor* caller, void* data ); - static void onAddTrustedSite ( void* data ); - static void onRemTrustedSite ( void* data ); - -protected: - BOOL mLoggedIn; - LLCheckBoxCtrl* mExternalBrowserCheck; - LLLineEditor* mBrowserHomePage; - LLCheckBoxCtrl* mWebPagesOnPrimsCheck; - LLScrollListCtrl* mTrustedSitesList; - LLCheckBoxCtrl* mProxyEnabled; - LLLineEditor* mProxyAddress; - LLLineEditor* mProxyPort; - LLRadioGroup* mProxySocks45; - LLLineEditor* mProxyExclusions; - LLButton* mAddTrustedSite; - LLLineEditor* mTrustedSiteEntry; - LLButton* mRemTrustedSite; + virtual void refresh(); + virtual void apply(); // Apply the changed values. + virtual void cancel(); // Cancel the changed values. + +private: + static void onClickClearCache(void*); + static void onClickClearCookies(void*); + static void callback_clear_browser_cache(S32 option, void* userdata); + static void callback_clear_cookies(S32 option, void* userdata); + static void onCommitCookies(LLUICtrl* ctrl, void* data); + +private: + BOOL mCookiesEnabled; }; #endif -- cgit v1.1