00001 00032 #ifndef LL_LLPANELWEB_H 00033 #define LL_LLPANELWEB_H 00034 00035 #include "llpanel.h" 00036 #include "llviewerthrottle.h" 00037 00038 class LLCheckBoxCtrl; 00039 class LLButton; 00040 00041 class LLPanelWeb : public LLPanel 00042 { 00043 public: 00044 LLPanelWeb(); 00045 virtual ~LLPanelWeb(); 00046 00047 virtual BOOL postBuild(); 00048 virtual void refresh(); 00049 virtual void apply(); // Apply the changed values. 00050 virtual void cancel(); // Cancel the changed values. 00051 00052 private: 00053 static void onClickClearCache(void*); 00054 static void onClickClearCookies(void*); 00055 static void callback_clear_browser_cache(S32 option, void* userdata); 00056 static void callback_clear_cookies(S32 option, void* userdata); 00057 static void onCommitCookies(LLUICtrl* ctrl, void* data); 00058 00059 private: 00060 BOOL mCookiesEnabled; 00061 }; 00062 00063 #endif