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

Unified Diff: xfa/fwl/core/cfwl_msgkillfocus.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_msgkillfocus.cpp
diff --git a/xfa/fwl/core/cfwl_msgkillfocus.cpp b/xfa/fwl/core/cfwl_msgkillfocus.cpp
index 0c8ac470299d19b29379a76229fcabe0716a681a..32d0cc41cbd16ece5704c4380a7b8d9bbcbdaf5d 100644
--- a/xfa/fwl/core/cfwl_msgkillfocus.cpp
+++ b/xfa/fwl/core/cfwl_msgkillfocus.cpp
@@ -10,14 +10,11 @@
#include "third_party/base/ptr_util.h"
-CFWL_MsgKillFocus::CFWL_MsgKillFocus() {}
+CFWL_MsgKillFocus::CFWL_MsgKillFocus()
+ : CFWL_Message(CFWL_MessageType::KillFocus) {}
CFWL_MsgKillFocus::~CFWL_MsgKillFocus() {}
std::unique_ptr<CFWL_Message> CFWL_MsgKillFocus::Clone() {
return pdfium::MakeUnique<CFWL_MsgKillFocus>(*this);
}
-
-CFWL_MessageType CFWL_MsgKillFocus::GetClassID() const {
- return CFWL_MessageType::KillFocus;
-}

Powered by Google App Engine
This is Rietveld 408576698