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

Unified Diff: xfa/fwl/core/cfwl_event.h

Issue 2506153003: Remove FWL_EVENT_DEF macro (Closed)
Patch Set: Rebase to master 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fwl/core/cfwl_event.h
diff --git a/xfa/fwl/core/cfwl_event.h b/xfa/fwl/core/cfwl_event.h
index b071fb7c9f7c9c2e09646136bf8927c2d52b67b0..cabb5838d0d8b13166e8926c69035a323cd02129 100644
--- a/xfa/fwl/core/cfwl_event.h
+++ b/xfa/fwl/core/cfwl_event.h
@@ -64,16 +64,4 @@ class CFWL_Event {
IFWL_Widget* m_pDstTarget;
};
-#define FWL_EVENT_DEF(classname, eventType, ...) \
- class classname : public CFWL_Event { \
- public: \
- classname(); \
- ~classname() override; \
- CFWL_EventType GetClassID() const override; \
- __VA_ARGS__ \
- }; \
- inline classname::classname() {} \
- inline classname::~classname() {} \
- inline CFWL_EventType classname::GetClassID() const { return eventType; }
-
#endif // XFA_FWL_CORE_CFWL_EVENT_H_
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698