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

Unified Diff: xfa/fwl/core/cfwl_msgsetfocus.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_msgsetfocus.cpp
diff --git a/xfa/fwl/core/cfwl_msgsetfocus.cpp b/xfa/fwl/core/cfwl_msgsetfocus.cpp
index 0463da1c6c6510cb815195ab4c2e944fb4e0c7ef..82e9610b150ab2f71e7a09c8342f6bff0a9a9c3a 100644
--- a/xfa/fwl/core/cfwl_msgsetfocus.cpp
+++ b/xfa/fwl/core/cfwl_msgsetfocus.cpp
@@ -10,14 +10,12 @@
#include "third_party/base/ptr_util.h"
-CFWL_MsgSetFocus::CFWL_MsgSetFocus() {}
+CFWL_MsgSetFocus::CFWL_MsgSetFocus(CFWL_Widget* pSrcTarget,
+ CFWL_Widget* pDstTarget)
+ : CFWL_Message(CFWL_Message::Type::SetFocus, pSrcTarget, pDstTarget) {}
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