aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llwebbrowserctrl.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llwebbrowserctrl.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/linden/indra/newview/llwebbrowserctrl.h b/linden/indra/newview/llwebbrowserctrl.h
index e6f9005..7097036 100644
--- a/linden/indra/newview/llwebbrowserctrl.h
+++ b/linden/indra/newview/llwebbrowserctrl.h
@@ -4,6 +4,7 @@
4 * 4 *
5 * Copyright (c) 2006-2007, Linden Research, Inc. 5 * Copyright (c) 2006-2007, Linden Research, Inc.
6 * 6 *
7 * Second Life Viewer Source Code
7 * The source code in this file ("Source Code") is provided by Linden Lab 8 * The source code in this file ("Source Code") is provided by Linden Lab
8 * to you under the terms of the GNU General Public License, version 2.0 9 * to you under the terms of the GNU General Public License, version 2.0
9 * ("GPL"), unless you have obtained a separate licensing agreement 10 * ("GPL"), unless you have obtained a separate licensing agreement
@@ -185,6 +186,7 @@ class LLWebBrowserCtrl :
185 bool canNavigateBack(); 186 bool canNavigateBack();
186 bool canNavigateForward(); 187 bool canNavigateForward();
187 void setOpenInExternalBrowser( bool valIn ); 188 void setOpenInExternalBrowser( bool valIn );
189 void setOpenSecondLifeLinksInMap( bool valIn );
188 void setHomePageUrl( const std::string urlIn ); 190 void setHomePageUrl( const std::string urlIn );
189 std::string getHomePageUrl(); 191 std::string getHomePageUrl();
190 192
@@ -195,6 +197,12 @@ class LLWebBrowserCtrl :
195 void setIgnoreUIScale(bool ignore) { mIgnoreUIScale = ignore; } 197 void setIgnoreUIScale(bool ignore) { mIgnoreUIScale = ignore; }
196 bool getIgnoreUIScale() { return mIgnoreUIScale; } 198 bool getIgnoreUIScale() { return mIgnoreUIScale; }
197 199
200 // map releated control (this should be moved eventually)
201 void openMapAtlocation( std::string second_life_url );
202
203 void setAlwaysRefresh(bool refresh) { mAlwaysRefresh = refresh; }
204 bool getAlwaysRefresh() { return mAlwaysRefresh; }
205
198 // over-rides 206 // over-rides
199 virtual BOOL handleKey( KEY key, MASK mask, BOOL called_from_parent ); 207 virtual BOOL handleKey( KEY key, MASK mask, BOOL called_from_parent );
200 virtual BOOL handleUnicodeChar(llwchar uni_char, BOOL called_from_parent); 208 virtual BOOL handleUnicodeChar(llwchar uni_char, BOOL called_from_parent);
@@ -230,8 +238,10 @@ class LLWebBrowserCtrl :
230 LLViewBorder* mBorder; 238 LLViewBorder* mBorder;
231 bool mFrequentUpdates; 239 bool mFrequentUpdates;
232 bool mOpenLinksInExternalBrowser; 240 bool mOpenLinksInExternalBrowser;
241 bool mOpenSecondLifeLinksInMap;
233 std::string mHomePageUrl; 242 std::string mHomePageUrl;
234 bool mIgnoreUIScale; 243 bool mIgnoreUIScale;
244 bool mAlwaysRefresh;
235}; 245};
236 246
237//////////////////////////////////////////////////////////////////////////////// 247////////////////////////////////////////////////////////////////////////////////