diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2024-02-09 23:06:55 +0200 |
---|---|---|
committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2024-02-10 00:27:28 +0200 |
commit | b8952923ac2564f85b83da6893f89a6a45c952fd (patch) | |
tree | c790f920ab9c89b60576a6abb19a094adc54061f /indra/newview/llpanelnearbymedia.h | |
parent | c8ee05a2712e56a7cdcb2b9e25c8b092c088d4d4 (diff) |
Triage Issue #49 Better inspection of data urls in media
Diffstat (limited to 'indra/newview/llpanelnearbymedia.h')
-rw-r--r-- | indra/newview/llpanelnearbymedia.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llpanelnearbymedia.h b/indra/newview/llpanelnearbymedia.h index 7239a80043..5e04ad4d86 100644 --- a/indra/newview/llpanelnearbymedia.h +++ b/indra/newview/llpanelnearbymedia.h @@ -49,6 +49,7 @@ public: void reshape(S32 width, S32 height, BOOL called_from_parent) override; BOOL handleHover(S32 x, S32 y, MASK mask) override; BOOL handleRightMouseDown(S32 x, S32 y, MASK mask) override; + void onVisibilityChange(BOOL new_visibility) override; // this is part of the nearby media *dialog* so we can track whether // the user *implicitly* wants audio on or off via their *explicit* @@ -123,6 +124,7 @@ private: bool setDisabled(const LLUUID &id, bool disabled); static void getNameAndUrlHelper(LLViewerMediaImpl* impl, std::string& name, std::string & url, const std::string &defaultName); + std::string getSelectedUrl(); void updateColumns(); @@ -141,6 +143,7 @@ private: void onClickSelectedMediaZoom(); void onClickSelectedMediaUnzoom(); void onMenuAction(const LLSD& userdata); + bool onMenuVisible(const LLSD& userdata); LLUICtrl* mNearbyMediaPanel; LLScrollListCtrl* mMediaList; |