summaryrefslogtreecommitdiff
path: root/indra/newview/llmediactrl.h
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2015-10-27 15:17:12 -0700
committerRider Linden <rider@lindenlab.com>2015-10-27 15:17:12 -0700
commit9833a50260fb45d5f0033200ae756834c0cc9940 (patch)
tree7b1462d2c0802fb175746a8d05100bb8c102640f /indra/newview/llmediactrl.h
parent8c74ed2a58f5443b931374489b04ba80fb11a590 (diff)
MAINT-5754: For MoaP and MediaCtrls forward all events including KEYUP and KEYDOWN to the CEF plugin.
Diffstat (limited to 'indra/newview/llmediactrl.h')
-rwxr-xr-xindra/newview/llmediactrl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llmediactrl.h b/indra/newview/llmediactrl.h
index cb3a864d63..291d87073e 100755
--- a/indra/newview/llmediactrl.h
+++ b/indra/newview/llmediactrl.h
@@ -172,6 +172,10 @@ public:
void updateContextMenuParent(LLView* pNewParent);
+ // The Browser windows want keyup and keydown events. Overridden from LLFocusableElement to return true.
+ virtual bool wantsKeyUpKeyDown() const;
+ virtual bool wantsReturnKey() const;
+
protected:
void convertInputCoords(S32& x, S32& y);