aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llwebbrowserctrl.h
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:27 -0500
committerJacek Antonelli2008-08-15 23:45:27 -0500
commita8a62201ba762e98dff92cf49033e577fc34d8d4 (patch)
tree11f8513c5cdc222f2fac0c93eb724c089803c200 /linden/indra/newview/llwebbrowserctrl.h
parentSecond Life viewer sources 1.18.6.4-RC (diff)
downloadmeta-impy-a8a62201ba762e98dff92cf49033e577fc34d8d4.zip
meta-impy-a8a62201ba762e98dff92cf49033e577fc34d8d4.tar.gz
meta-impy-a8a62201ba762e98dff92cf49033e577fc34d8d4.tar.bz2
meta-impy-a8a62201ba762e98dff92cf49033e577fc34d8d4.tar.xz
Second Life viewer sources 1.19.0.0
Diffstat (limited to 'linden/indra/newview/llwebbrowserctrl.h')
-rw-r--r--linden/indra/newview/llwebbrowserctrl.h18
1 files changed, 12 insertions, 6 deletions
diff --git a/linden/indra/newview/llwebbrowserctrl.h b/linden/indra/newview/llwebbrowserctrl.h
index 006df70..20dfbd7 100644
--- a/linden/indra/newview/llwebbrowserctrl.h
+++ b/linden/indra/newview/llwebbrowserctrl.h
@@ -12,12 +12,12 @@
12 * ("GPL"), unless you have obtained a separate licensing agreement 12 * ("GPL"), unless you have obtained a separate licensing agreement
13 * ("Other License"), formally executed by you and Linden Lab. Terms of 13 * ("Other License"), formally executed by you and Linden Lab. Terms of
14 * the GPL can be found in doc/GPL-license.txt in this distribution, or 14 * the GPL can be found in doc/GPL-license.txt in this distribution, or
15 * online at http://secondlife.com/developers/opensource/gplv2 15 * online at http://secondlifegrid.net/programs/open_source/licensing/gplv2
16 * 16 *
17 * There are special exceptions to the terms and conditions of the GPL as 17 * There are special exceptions to the terms and conditions of the GPL as
18 * it is applied to this Source Code. View the full text of the exception 18 * it is applied to this Source Code. View the full text of the exception
19 * in the file doc/FLOSS-exception.txt in this software distribution, or 19 * in the file doc/FLOSS-exception.txt in this software distribution, or
20 * online at http://secondlife.com/developers/opensource/flossexception 20 * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception
21 * 21 *
22 * By copying, modifying or distributing this software, you acknowledge 22 * By copying, modifying or distributing this software, you acknowledge
23 * that you have read and understood your obligations described above, 23 * that you have read and understood your obligations described above,
@@ -194,8 +194,15 @@ class LLWebBrowserCtrl :
194 bool canNavigateForward(); 194 bool canNavigateForward();
195 void setOpenInExternalBrowser( bool valIn ); 195 void setOpenInExternalBrowser( bool valIn );
196 void setOpenInInternalBrowser( bool valIn ); 196 void setOpenInInternalBrowser( bool valIn );
197 void setOpenSLURLsInMap( bool valIn ); 197
198 void setOpenSLURLsViaTeleport( bool valIn ); 198 // By default, we do not handle "secondlife:///app/" SLURLs, because
199 // those can cause teleports, open windows, etc. We cannot be sure
200 // that each "click" is actually due to a user action, versus
201 // Javascript or some other mechanism. However, we need the search
202 // floater and login page to handle these URLs. Those are safe
203 // because we control the page content. See DEV-9530. JC.
204 void setOpenAppSLURLs( bool valIn );
205
199 void setHomePageUrl( const std::string urlIn ); 206 void setHomePageUrl( const std::string urlIn );
200 std::string getHomePageUrl(); 207 std::string getHomePageUrl();
201 208
@@ -249,8 +256,7 @@ class LLWebBrowserCtrl :
249 bool mFrequentUpdates; 256 bool mFrequentUpdates;
250 bool mOpenLinksInExternalBrowser; 257 bool mOpenLinksInExternalBrowser;
251 bool mOpenLinksInInternalBrowser; 258 bool mOpenLinksInInternalBrowser;
252 bool mOpenSLURLsInMap; 259 bool mOpenAppSLURLs;
253 bool mOpenSLURLsViaTeleport;
254 std::string mHomePageUrl; 260 std::string mHomePageUrl;
255 bool mIgnoreUIScale; 261 bool mIgnoreUIScale;
256 bool mAlwaysRefresh; 262 bool mAlwaysRefresh;