From 4bd717ba4e40d4d3775c5e19334f4733fca8cb42 Mon Sep 17 00:00:00 2001 From: dsinclair Date: Mon, 21 Nov 2016 17:57:21 -0800 Subject: Remove FwlEventMask The only value being set from the enum was the All Mask. This was always set through the default value in the methods. This Cl removes the mask code completely and updates surrounding code as needed. Review-Url: https://codereview.chromium.org/2515243003 --- xfa/fwl/core/cfwl_event.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'xfa/fwl/core/cfwl_event.h') diff --git a/xfa/fwl/core/cfwl_event.h b/xfa/fwl/core/cfwl_event.h index cabb5838d0..550457a6bd 100644 --- a/xfa/fwl/core/cfwl_event.h +++ b/xfa/fwl/core/cfwl_event.h @@ -37,19 +37,6 @@ enum class CFWL_EventType { Validate }; -enum FWLEventMask { - FWL_EVENT_MOUSE_MASK = 1 << 0, - FWL_EVENT_MOUSEWHEEL_MASK = 1 << 1, - FWL_EVENT_KEY_MASK = 1 << 2, - FWL_EVENT_FOCUSCHANGED_MASK = 1 << 3, - FWL_EVENT_DRAW_MASK = 1 << 4, - FWL_EVENT_CLOSE_MASK = 1 << 5, - FWL_EVENT_SIZECHANGED_MASK = 1 << 6, - FWL_EVENT_IDLE_MASK = 1 << 7, - FWL_EVENT_CONTROL_MASK = 1 << 8, - FWL_EVENT_ALL_MASK = 0xFF -}; - class CFX_Graphics; class IFWL_Widget; -- cgit v1.2.3