summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/ifwl_app.h
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-10-13 11:00:00 -0700
committerCommit bot <commit-bot@chromium.org>2016-10-13 11:00:00 -0700
commita4060a324d606d5a8e1d2a16d3b55a6d14a0ddbf (patch)
tree10d5adc5e90dc75ddf7d44d4b16ad869ae0bb943 /xfa/fwl/core/ifwl_app.h
parentb685e6471075bebd26711bc183de3128f54932e3 (diff)
downloadpdfium-a4060a324d606d5a8e1d2a16d3b55a6d14a0ddbf.tar.xz
Remove duplicate FWL key flags
The FWL key flags exist in two places, with different values between them. This CL combines them to be in a single location. Review-Url: https://codereview.chromium.org/2415743003
Diffstat (limited to 'xfa/fwl/core/ifwl_app.h')
-rw-r--r--xfa/fwl/core/ifwl_app.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/xfa/fwl/core/ifwl_app.h b/xfa/fwl/core/ifwl_app.h
index 03d44796fd..c030e26b2e 100644
--- a/xfa/fwl/core/ifwl_app.h
+++ b/xfa/fwl/core/ifwl_app.h
@@ -28,6 +28,16 @@ class CXFA_FWLAdapterWidgetMgr;
class IFWL_ThemeProvider;
class IFWL_Widget;
+enum FWL_KeyFlag {
+ FWL_KEYFLAG_Ctrl = 1 << 0,
+ FWL_KEYFLAG_Alt = 1 << 1,
+ FWL_KEYFLAG_Shift = 1 << 2,
+ FWL_KEYFLAG_Command = 1 << 3,
+ FWL_KEYFLAG_LButton = 1 << 4,
+ FWL_KEYFLAG_RButton = 1 << 5,
+ FWL_KEYFLAG_MButton = 1 << 6
+};
+
class IFWL_App {
public:
static IFWL_App* Create(CXFA_FFApp* pAdapter);