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

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

Issue 2507713003: Split the common event classes out to files. (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « xfa/fwl/core/cfwl_evtmousewheel.h ('k') | xfa/fwl/core/cfwl_evtscroll.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fwl/core/cfwl_evtmousewheel.cpp
diff --git a/xfa/fxfa/parser/cxfa_text.cpp b/xfa/fwl/core/cfwl_evtmousewheel.cpp
similarity index 52%
copy from xfa/fxfa/parser/cxfa_text.cpp
copy to xfa/fwl/core/cfwl_evtmousewheel.cpp
index fc7d7aa280e2900081d2e05d99d1a5e94fd7bd68..215947c0ea35ab42c79e735597cb05cd4791d8af 100644
--- a/xfa/fxfa/parser/cxfa_text.cpp
+++ b/xfa/fwl/core/cfwl_evtmousewheel.cpp
@@ -4,12 +4,12 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#include "xfa/fxfa/parser/cxfa_text.h"
+#include "xfa/fwl/core/cfwl_evtmousewheel.h"
-#include "xfa/fxfa/parser/xfa_object.h"
+CFWL_EvtMouseWheel::CFWL_EvtMouseWheel() {}
-CXFA_Text::CXFA_Text(CXFA_Node* pNode) : CXFA_Data(pNode) {}
+CFWL_EvtMouseWheel::~CFWL_EvtMouseWheel() {}
-void CXFA_Text::GetContent(CFX_WideString& wsText) {
- m_pNode->TryContent(wsText);
+CFWL_EventType CFWL_EvtMouseWheel::GetClassID() const {
+ return CFWL_EventType::MouseWheel;
}
« no previous file with comments | « xfa/fwl/core/cfwl_evtmousewheel.h ('k') | xfa/fwl/core/cfwl_evtscroll.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698