Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Side by Side Diff: xfa/fwl/core/cfwl_event.h

Issue 2515243003: Remove FwlEventMask (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | xfa/fwl/core/cfwl_eventtarget.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef XFA_FWL_CORE_CFWL_EVENT_H_ 7 #ifndef XFA_FWL_CORE_CFWL_EVENT_H_
8 #define XFA_FWL_CORE_CFWL_EVENT_H_ 8 #define XFA_FWL_CORE_CFWL_EVENT_H_
9 9
10 #include "core/fxcrt/fx_coordinates.h" 10 #include "core/fxcrt/fx_coordinates.h"
(...skipping 19 matching lines...) Expand all
30 PreDropDown, 30 PreDropDown,
31 Scroll, 31 Scroll,
32 SelectChanged, 32 SelectChanged,
33 SetFocus, 33 SetFocus,
34 SizeChanged, 34 SizeChanged,
35 TextChanged, 35 TextChanged,
36 TextFull, 36 TextFull,
37 Validate 37 Validate
38 }; 38 };
39 39
40 enum FWLEventMask {
41 FWL_EVENT_MOUSE_MASK = 1 << 0,
42 FWL_EVENT_MOUSEWHEEL_MASK = 1 << 1,
43 FWL_EVENT_KEY_MASK = 1 << 2,
44 FWL_EVENT_FOCUSCHANGED_MASK = 1 << 3,
45 FWL_EVENT_DRAW_MASK = 1 << 4,
46 FWL_EVENT_CLOSE_MASK = 1 << 5,
47 FWL_EVENT_SIZECHANGED_MASK = 1 << 6,
48 FWL_EVENT_IDLE_MASK = 1 << 7,
49 FWL_EVENT_CONTROL_MASK = 1 << 8,
50 FWL_EVENT_ALL_MASK = 0xFF
51 };
52
53 class CFX_Graphics; 40 class CFX_Graphics;
54 class IFWL_Widget; 41 class IFWL_Widget;
55 42
56 class CFWL_Event { 43 class CFWL_Event {
57 public: 44 public:
58 CFWL_Event(); 45 CFWL_Event();
59 virtual ~CFWL_Event(); 46 virtual ~CFWL_Event();
60 47
61 virtual CFWL_EventType GetClassID() const; 48 virtual CFWL_EventType GetClassID() const;
62 49
63 IFWL_Widget* m_pSrcTarget; 50 IFWL_Widget* m_pSrcTarget;
64 IFWL_Widget* m_pDstTarget; 51 IFWL_Widget* m_pDstTarget;
65 }; 52 };
66 53
67 #endif // XFA_FWL_CORE_CFWL_EVENT_H_ 54 #endif // XFA_FWL_CORE_CFWL_EVENT_H_
OLDNEW
« no previous file with comments | « no previous file | xfa/fwl/core/cfwl_eventtarget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698