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

Unified Diff: xfa/fwl/core/cfwl_msgsetfocus.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_msgsetfocus.cpp
diff --git a/xfa/fwl/core/cfwl_msgsetfocus.cpp b/xfa/fwl/core/cfwl_msgsetfocus.cpp
index 0463da1c6c6510cb815195ab4c2e944fb4e0c7ef..a4ce5519e18caaed19f2c51cf106a5e42af56f82 100644
--- a/xfa/fwl/core/cfwl_msgsetfocus.cpp
+++ b/xfa/fwl/core/cfwl_msgsetfocus.cpp
@@ -10,14 +10,11 @@
#include "third_party/base/ptr_util.h"
-CFWL_MsgSetFocus::CFWL_MsgSetFocus() {}
+CFWL_MsgSetFocus::CFWL_MsgSetFocus()
+ : CFWL_Message(CFWL_MessageType::SetFocus) {}
CFWL_MsgSetFocus::~CFWL_MsgSetFocus() {}
std::unique_ptr<CFWL_Message> CFWL_MsgSetFocus::Clone() {
return pdfium::MakeUnique<CFWL_MsgSetFocus>(*this);
}
-
-CFWL_MessageType CFWL_MsgSetFocus::GetClassID() const {
- return CFWL_MessageType::SetFocus;
-}

Powered by Google App Engine
This is Rietveld 408576698