summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/ifwl_widget.h
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-05-26 09:40:32 -0700
committerCommit bot <commit-bot@chromium.org>2016-05-26 09:40:32 -0700
commitd2b93dfa15dbb7fd42b7cf05fc248d7f5c87f1ef (patch)
tree9b30522756508ff0a97a119a56260e0c36eb5fb7 /xfa/fwl/core/ifwl_widget.h
parent7f2abcc015583e63cceb52acde757cb2111420bd (diff)
downloadpdfium-d2b93dfa15dbb7fd42b7cf05fc248d7f5c87f1ef.tar.xz
Remove one (of several) usages of SetPrivateData from IFWL_Widget
Allow an upper layer to store an "event key" directly in the widget. Also fix some dubious logic in key allocation. Review-Url: https://codereview.chromium.org/2012143003
Diffstat (limited to 'xfa/fwl/core/ifwl_widget.h')
-rw-r--r--xfa/fwl/core/ifwl_widget.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/xfa/fwl/core/ifwl_widget.h b/xfa/fwl/core/ifwl_widget.h
index 8bbf8da469..1c469b276c 100644
--- a/xfa/fwl/core/ifwl_widget.h
+++ b/xfa/fwl/core/ifwl_widget.h
@@ -75,6 +75,8 @@ class IFWL_Widget {
uint32_t dwStylesExRemoved);
uint32_t GetStates();
void SetStates(uint32_t dwStates, FX_BOOL bSet = TRUE);
+ uint32_t GetEventKey() const;
+ void SetEventKey(uint32_t key);
FWL_Error SetPrivateData(void* module_id,
void* pData,
PD_CALLBACK_FREEDATA callback);