diff options
Diffstat (limited to 'linden/indra/newview/llwebbrowserctrl.cpp')
-rw-r--r-- | linden/indra/newview/llwebbrowserctrl.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/linden/indra/newview/llwebbrowserctrl.cpp b/linden/indra/newview/llwebbrowserctrl.cpp index afd27bf..e819f21 100644 --- a/linden/indra/newview/llwebbrowserctrl.cpp +++ b/linden/indra/newview/llwebbrowserctrl.cpp | |||
@@ -217,6 +217,21 @@ BOOL LLWebBrowserCtrl::handleMouseDown( S32 x, S32 y, MASK mask ) | |||
217 | 217 | ||
218 | //////////////////////////////////////////////////////////////////////////////// | 218 | //////////////////////////////////////////////////////////////////////////////// |
219 | // | 219 | // |
220 | BOOL LLWebBrowserCtrl::handleDoubleClick( S32 x, S32 y, MASK mask ) | ||
221 | { | ||
222 | llinfos << "JAMESDEBUG handleDoubleClick web ctrl" << llendl; | ||
223 | convertInputCoords(x, y); | ||
224 | //LLMozLib::getInstance()->mouseLeftDoubleClick( mEmbeddedBrowserWindowId, x, y ); | ||
225 | |||
226 | gViewerWindow->setMouseCapture( this ); | ||
227 | |||
228 | setFocus( TRUE ); | ||
229 | |||
230 | return TRUE; | ||
231 | } | ||
232 | |||
233 | //////////////////////////////////////////////////////////////////////////////// | ||
234 | // | ||
220 | void LLWebBrowserCtrl::onFocusReceived() | 235 | void LLWebBrowserCtrl::onFocusReceived() |
221 | { | 236 | { |
222 | LLMozLib::getInstance()->focusBrowser( mEmbeddedBrowserWindowId, true ); | 237 | LLMozLib::getInstance()->focusBrowser( mEmbeddedBrowserWindowId, true ); |