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

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

Issue 2530993002: Cleanup FWL Event and Message code. (Closed)
Patch Set: Cleanup 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..5ba22aa0094e7485b214558714641d2674149dea 100644
--- a/xfa/fwl/core/cfwl_msgmousewheel.cpp
+++ b/xfa/fwl/core/cfwl_msgmousewheel.cpp
@@ -10,14 +10,11 @@
#include "third_party/base/ptr_util.h"
-CFWL_MsgMouseWheel::CFWL_MsgMouseWheel() {}
+CFWL_MsgMouseWheel::CFWL_MsgMouseWheel()
+ : CFWL_Message(CFWL_MessageType::MouseWheel) {}
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