From 73dda9419055a3ab37e0310032e65c780d0fb8b3 Mon Sep 17 00:00:00 2001 From: Richard Linden Date: Wed, 23 Feb 2011 16:42:50 -0800 Subject: SOCIAL-551 WIP Add buttons to open people and profile windows add URL accessor for web content floaters --- indra/newview/llfloaterwebcontent.cpp | 5 +++++ indra/newview/llfloaterwebcontent.h | 1 + 2 files changed, 6 insertions(+) diff --git a/indra/newview/llfloaterwebcontent.cpp b/indra/newview/llfloaterwebcontent.cpp index 058567492b..bcbb01ab1d 100644 --- a/indra/newview/llfloaterwebcontent.cpp +++ b/indra/newview/llfloaterwebcontent.cpp @@ -400,3 +400,8 @@ void LLFloaterWebContent::onPopExternal() LLWeb::loadURLExternal( url ); }; } + +std::string LLFloaterWebContent::getURL() const +{ + return mAddressCombo->getValue().asString(); +} diff --git a/indra/newview/llfloaterwebcontent.h b/indra/newview/llfloaterwebcontent.h index ecc7e970d8..6c934158d0 100644 --- a/indra/newview/llfloaterwebcontent.h +++ b/indra/newview/llfloaterwebcontent.h @@ -65,6 +65,7 @@ public: void onClickStop(); void onEnterAddress(); void onPopExternal(); + std::string getURL() const; private: void open_media(const std::string& media_url, const std::string& target); -- cgit v1.2.3