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

Unified Diff: xfa/fwl/core/cfwl_msgmouse.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_msgmouse.cpp
diff --git a/xfa/fwl/core/cfwl_msgmouse.cpp b/xfa/fwl/core/cfwl_msgmouse.cpp
index de2540d8fc881cc294392154150595907f81a27d..f8a4e64608521a00b5952931e850eeadb234de00 100644
--- a/xfa/fwl/core/cfwl_msgmouse.cpp
+++ b/xfa/fwl/core/cfwl_msgmouse.cpp
@@ -10,14 +10,11 @@
#include "third_party/base/ptr_util.h"
-CFWL_MsgMouse::CFWL_MsgMouse() {}
+CFWL_MsgMouse::CFWL_MsgMouse(CFWL_Widget* pSrcTarget, CFWL_Widget* pDstTarget)
+ : CFWL_Message(CFWL_Message::Type::Mouse, pSrcTarget, pDstTarget) {}
CFWL_MsgMouse::~CFWL_MsgMouse() {}
std::unique_ptr<CFWL_Message> CFWL_MsgMouse::Clone() {
return pdfium::MakeUnique<CFWL_MsgMouse>(*this);
}
-
-CFWL_MessageType CFWL_MsgMouse::GetClassID() const {
- return CFWL_MessageType::Mouse;
-}

Powered by Google App Engine
This is Rietveld 408576698