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

Unified Diff: xfa/fwl/basewidget/fwl_formproxyimp.cpp

Issue 1946213003: Remove CLASSHASH defines in favour of an enum class. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 7 months 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/basewidget/fwl_formproxyimp.h ('k') | xfa/fwl/basewidget/fwl_listboximp.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fwl/basewidget/fwl_formproxyimp.cpp
diff --git a/xfa/fwl/basewidget/fwl_formproxyimp.cpp b/xfa/fwl/basewidget/fwl_formproxyimp.cpp
index 1e70da64adf2696a08a7d0ecafbc4a60ff82e235..2b76078e0c32ed51781c67b004eba83a8e632dcb 100644
--- a/xfa/fwl/basewidget/fwl_formproxyimp.cpp
+++ b/xfa/fwl/basewidget/fwl_formproxyimp.cpp
@@ -13,14 +13,18 @@
CFWL_FormProxyImp::CFWL_FormProxyImp(const CFWL_WidgetImpProperties& properties,
IFWL_Widget* pOuter)
: CFWL_FormImp(properties, pOuter) {}
+
CFWL_FormProxyImp::~CFWL_FormProxyImp() {}
+
FWL_Error CFWL_FormProxyImp::GetClassName(CFX_WideString& wsClass) const {
wsClass = FWL_CLASS_FormProxy;
return FWL_Error::Succeeded;
}
-uint32_t CFWL_FormProxyImp::GetClassID() const {
- return FWL_CLASSHASH_FormProxy;
+
+FWL_Type CFWL_FormProxyImp::GetClassID() const {
+ return FWL_Type::FormProxy;
}
+
FX_BOOL CFWL_FormProxyImp::IsInstance(const CFX_WideStringC& wsClass) const {
if (wsClass == CFX_WideStringC(FWL_CLASS_FormProxy)) {
return TRUE;
« no previous file with comments | « xfa/fwl/basewidget/fwl_formproxyimp.h ('k') | xfa/fwl/basewidget/fwl_listboximp.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698