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

Unified Diff: xfa/fwl/core/cfwl_msgmousewheel.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_msgmousewheel.cpp
diff --git a/xfa/fwl/core/cfwl_msgmousewheel.cpp b/xfa/fwl/core/cfwl_msgmousewheel.cpp
index 739c43174cadec2ca7c5d0d93f0e1f8fbe5cc71f..02629ec909f48c436265b0215fa21297e0bb6e8e 100644
--- a/xfa/fwl/core/cfwl_msgmousewheel.cpp
+++ b/xfa/fwl/core/cfwl_msgmousewheel.cpp
@@ -10,14 +10,12 @@
#include "third_party/base/ptr_util.h"
-CFWL_MsgMouseWheel::CFWL_MsgMouseWheel() {}
+CFWL_MsgMouseWheel::CFWL_MsgMouseWheel(CFWL_Widget* pSrcTarget,
+ CFWL_Widget* pDstTarget)
+ : CFWL_Message(CFWL_Message::Type::MouseWheel, pSrcTarget, pDstTarget) {}
CFWL_MsgMouseWheel::~CFWL_MsgMouseWheel() {}
std::unique_ptr<CFWL_Message> CFWL_MsgMouseWheel::Clone() {
return pdfium::MakeUnique<CFWL_MsgMouseWheel>(*this);
}
-
-CFWL_MessageType CFWL_MsgMouseWheel::GetClassID() const {
- return CFWL_MessageType::MouseWheel;
-}

Powered by Google App Engine
This is Rietveld 408576698