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

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

Powered by Google App Engine
This is Rietveld 408576698