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

Unified Diff: xfa/fwl/core/cfwl_evtmouse.cpp

Issue 2530993002: Cleanup FWL Event and Message code. (Closed)
Patch Set: Review feedback 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 side-by-side diff with in-line comments
Download patch
Index: xfa/fwl/core/cfwl_evtmouse.cpp
diff --git a/xfa/fwl/core/cfwl_evtmouse.cpp b/xfa/fwl/core/cfwl_evtmouse.cpp
index c85172b738d98b2e3dca8cc0671b80717c2c1a87..8bfce8a9c5baffb461c5928d5e8ccbaf2405d866 100644
--- a/xfa/fwl/core/cfwl_evtmouse.cpp
+++ b/xfa/fwl/core/cfwl_evtmouse.cpp
@@ -6,10 +6,10 @@
#include "xfa/fwl/core/cfwl_evtmouse.h"
-CFWL_EvtMouse::CFWL_EvtMouse() {}
+CFWL_EvtMouse::CFWL_EvtMouse(CFWL_Widget* pSrcTarget)
+ : CFWL_EvtMouse(pSrcTarget, nullptr) {}
-CFWL_EvtMouse::~CFWL_EvtMouse() {}
+CFWL_EvtMouse::CFWL_EvtMouse(CFWL_Widget* pSrcTarget, CFWL_Widget* pDstTarget)
+ : CFWL_Event(CFWL_Event::Type::Mouse, pSrcTarget, pDstTarget) {}
-CFWL_EventType CFWL_EvtMouse::GetClassID() const {
- return CFWL_EventType::Mouse;
-}
+CFWL_EvtMouse::~CFWL_EvtMouse() {}

Powered by Google App Engine
This is Rietveld 408576698