summaryrefslogtreecommitdiff
path: root/indra/llui/llfocusmgr.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/llui/llfocusmgr.h
parent8c74ed2a58f5443b931374489b04ba80fb11a590 (diff)
MAINT-5754: For MoaP and MediaCtrls forward all events including KEYUP and KEYDOWN to the CEF plugin.
Diffstat (limited to 'indra/llui/llfocusmgr.h')
-rwxr-xr-xindra/llui/llfocusmgr.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/llui/llfocusmgr.h b/indra/llui/llfocusmgr.h
index 950ac55325..0e3d7d8e59 100755
--- a/indra/llui/llfocusmgr.h
+++ b/indra/llui/llfocusmgr.h
@@ -60,6 +60,14 @@ public:
virtual BOOL handleKeyUp(KEY key, MASK mask, BOOL called_from_parent);
virtual BOOL handleUnicodeChar(llwchar uni_char, BOOL called_from_parent);
+ /**
+ * If true this LLFocusableElement wants to receive KEYUP and KEYDOWN messages
+ * even for normal character strokes.
+ * Default implementation returns false.
+ */
+ virtual bool wantsKeyUpKeyDown() const;
+ virtual bool wantsReturnKey() const;
+
virtual void onTopLost(); // called when registered as top ctrl and user clicks elsewhere
protected:
virtual void onFocusReceived();