diff options
author | Rider Linden <rider@lindenlab.com> | 2015-10-27 15:17:12 -0700 |
---|---|---|
committer | Rider Linden <rider@lindenlab.com> | 2015-10-27 15:17:12 -0700 |
commit | 9833a50260fb45d5f0033200ae756834c0cc9940 (patch) | |
tree | 7b1462d2c0802fb175746a8d05100bb8c102640f /indra/llui/llfocusmgr.h | |
parent | 8c74ed2a58f5443b931374489b04ba80fb11a590 (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-x | indra/llui/llfocusmgr.h | 8 |
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(); |