diff options
author | Jacek Antonelli | 2008-08-15 23:45:44 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:44 -0500 |
commit | acfdcf2b1deeb04698174c78e8cb22b093445bb1 (patch) | |
tree | 811293650bcf81d01ea7c54d7c2cf263110aa329 /linden/indra/newview/llwebbrowserctrl.h | |
parent | Second Life viewer sources 1.20.2 (diff) | |
download | meta-impy-acfdcf2b1deeb04698174c78e8cb22b093445bb1.zip meta-impy-acfdcf2b1deeb04698174c78e8cb22b093445bb1.tar.gz meta-impy-acfdcf2b1deeb04698174c78e8cb22b093445bb1.tar.bz2 meta-impy-acfdcf2b1deeb04698174c78e8cb22b093445bb1.tar.xz |
Second Life viewer sources 1.20.3
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llwebbrowserctrl.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/linden/indra/newview/llwebbrowserctrl.h b/linden/indra/newview/llwebbrowserctrl.h index f7c9647..e1b5357 100644 --- a/linden/indra/newview/llwebbrowserctrl.h +++ b/linden/indra/newview/llwebbrowserctrl.h | |||
@@ -182,6 +182,12 @@ class LLWebBrowserCtrl : | |||
182 | 182 | ||
183 | void setBorderVisible( BOOL border_visible ); | 183 | void setBorderVisible( BOOL border_visible ); |
184 | 184 | ||
185 | // For the tutorial window, we don't want to take focus on clicks, | ||
186 | // as the examples include how to move around with the arrow | ||
187 | // keys. Thus we keep focus on the app by setting this false. | ||
188 | // Defaults to true. | ||
189 | void setTakeFocusOnClick( bool take_focus ); | ||
190 | |||
185 | static LLView* fromXML(LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *factory); | 191 | static LLView* fromXML(LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *factory); |
186 | 192 | ||
187 | // handle mouse related methods | 193 | // handle mouse related methods |
@@ -263,6 +269,7 @@ class LLWebBrowserCtrl : | |||
263 | 269 | ||
264 | private: | 270 | private: |
265 | static void onClickLinkExternalTarget( S32 option, void* userdata ); | 271 | static void onClickLinkExternalTarget( S32 option, void* userdata ); |
272 | |||
266 | LLWebBrowserCtrlEventEmitter< LLWebBrowserCtrlObserver > mEventEmitter; | 273 | LLWebBrowserCtrlEventEmitter< LLWebBrowserCtrlObserver > mEventEmitter; |
267 | const S32 mTextureDepthBytes; | 274 | const S32 mTextureDepthBytes; |
268 | int mEmbeddedBrowserWindowId; | 275 | int mEmbeddedBrowserWindowId; |
@@ -278,6 +285,7 @@ class LLWebBrowserCtrl : | |||
278 | bool mIgnoreUIScale; | 285 | bool mIgnoreUIScale; |
279 | bool mAlwaysRefresh; | 286 | bool mAlwaysRefresh; |
280 | LLMediaBase* mMediaSource; | 287 | LLMediaBase* mMediaSource; |
288 | bool mTakeFocusOnClick; | ||
281 | }; | 289 | }; |
282 | 290 | ||
283 | //////////////////////////////////////////////////////////////////////////////// | 291 | //////////////////////////////////////////////////////////////////////////////// |