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

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

Issue 2510123002: Remove the CFWL_EventType::DrawItem (Closed)
Patch Set: Created 4 years, 1 month 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/ifwl_combobox.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"
11 #include "core/fxcrt/fx_string.h" 11 #include "core/fxcrt/fx_string.h"
12 #include "core/fxcrt/fx_system.h" 12 #include "core/fxcrt/fx_system.h"
13 #include "xfa/fwl/core/cfwl_msgkey.h" 13 #include "xfa/fwl/core/cfwl_msgkey.h"
14 #include "xfa/fwl/core/cfwl_msgmouse.h" 14 #include "xfa/fwl/core/cfwl_msgmouse.h"
15 #include "xfa/fwl/core/fwl_error.h" 15 #include "xfa/fwl/core/fwl_error.h"
16 16
17 enum class CFWL_EventType { 17 enum class CFWL_EventType {
18 None = 0, 18 None = 0,
19 19
20 CheckStateChanged, 20 CheckStateChanged,
21 CheckWord, 21 CheckWord,
22 Click, 22 Click,
23 Close, 23 Close,
24 DrawItem,
25 EditChanged, 24 EditChanged,
26 Key, 25 Key,
27 KillFocus, 26 KillFocus,
28 Mouse, 27 Mouse,
29 MouseWheel, 28 MouseWheel,
30 PostDropDown, 29 PostDropDown,
31 PreDropDown, 30 PreDropDown,
32 Scroll, 31 Scroll,
33 SelectChanged, 32 SelectChanged,
34 SetFocus, 33 SetFocus,
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 classname(); \ 70 classname(); \
72 ~classname() override; \ 71 ~classname() override; \
73 CFWL_EventType GetClassID() const override; \ 72 CFWL_EventType GetClassID() const override; \
74 __VA_ARGS__ \ 73 __VA_ARGS__ \
75 }; \ 74 }; \
76 inline classname::classname() {} \ 75 inline classname::classname() {} \
77 inline classname::~classname() {} \ 76 inline classname::~classname() {} \
78 inline CFWL_EventType classname::GetClassID() const { return eventType; } 77 inline CFWL_EventType classname::GetClassID() const { return eventType; }
79 78
80 #endif // XFA_FWL_CORE_CFWL_EVENT_H_ 79 #endif // XFA_FWL_CORE_CFWL_EVENT_H_
OLDNEW
« no previous file with comments | « no previous file | xfa/fwl/core/ifwl_combobox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698