summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatertos.h
diff options
context:
space:
mode:
authorMonroe Linden <monroe@lindenlab.com>2010-04-02 13:30:14 -0700
committerMonroe Linden <monroe@lindenlab.com>2010-04-02 13:30:14 -0700
commit50b97bfaf5b975d0e6ea6920b161007ade0d4fc5 (patch)
tree55ec9fbcb664036b84a59d4db1774e2152992347 /indra/newview/llfloatertos.h
parent8ee0bdbd1fc04c09e07c0fc10528c01c6b6a9abf (diff)
Fix for EXT-6663 (TOS Screen logic for enabling agreement checkbox is questionable)
* remove the use of the start_url parameter, and instead store the loading url as a string in the xui, so that there's no chance of the loading screen page completing before we add our observer. * replace the "load complete count" with explicit state variables for whether the loading screen has completed and whether the site is alive * don't begin trying to load the real URL until both of the above conditions are met (and begin the load no matter which order they are satisfied in) Reviewed by Richard at http://codereview.lindenlab.com/1218007
Diffstat (limited to 'indra/newview/llfloatertos.h')
-rw-r--r--indra/newview/llfloatertos.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/newview/llfloatertos.h b/indra/newview/llfloatertos.h
index 1d573e8170..6ea56408ee 100644
--- a/indra/newview/llfloatertos.h
+++ b/indra/newview/llfloatertos.h
@@ -66,9 +66,14 @@ public:
/*virtual*/ void handleMediaEvent(LLPluginClassMedia* self, EMediaEvent event);
private:
+
+ void loadIfNeeded();
+
std::string mMessage;
int mWebBrowserWindowId;
- int mLoadCompleteCount;
+ bool mLoadingScreenLoaded;
+ bool mSiteAlive;
+ bool mRealNavigateBegun;
std::string mReplyPumpName;
};