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

Unified Diff: xfa/fxfa/app/xfa_fftextedit.h

Issue 1943413002: Convert FWL_ERR into an enum class. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@bcdattribute
Patch Set: Mac XFA build Created 4 years, 8 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
Index: xfa/fxfa/app/xfa_fftextedit.h
diff --git a/xfa/fxfa/app/xfa_fftextedit.h b/xfa/fxfa/app/xfa_fftextedit.h
index ecdc2da48551047c11362600e4b3aef79a15ee03..7992fe358074825add422ff7a44046646c50a460 100644
--- a/xfa/fxfa/app/xfa_fftextedit.h
+++ b/xfa/fxfa/app/xfa_fftextedit.h
@@ -45,9 +45,9 @@ class CXFA_FFTextEdit : public CXFA_FFField {
// IFWL_WidgetDelegate:
int32_t OnProcessMessage(CFWL_Message* pMessage) override;
- FWL_ERR OnProcessEvent(CFWL_Event* pEvent) override;
- FWL_ERR OnDrawWidget(CFX_Graphics* pGraphics,
- const CFX_Matrix* pMatrix = NULL) override;
+ FWL_Error OnProcessEvent(CFWL_Event* pEvent) override;
+ FWL_Error OnDrawWidget(CFX_Graphics* pGraphics,
+ const CFX_Matrix* pMatrix = NULL) override;
void OnTextChanged(IFWL_Widget* pWidget,
const CFX_WideString& wsChanged,
@@ -73,7 +73,7 @@ class CXFA_FFNumericEdit : public CXFA_FFTextEdit {
virtual ~CXFA_FFNumericEdit();
virtual FX_BOOL LoadWidget();
virtual void UpdateWidgetProperty();
- virtual FWL_ERR OnProcessEvent(CFWL_Event* pEvent);
+ virtual FWL_Error OnProcessEvent(CFWL_Event* pEvent);
public:
FX_BOOL OnValidate(IFWL_Widget* pWidget, CFX_WideString& wsText);
@@ -132,7 +132,7 @@ class CXFA_FFDateTimeEdit : public CXFA_FFTextEdit {
int32_t iYear,
int32_t iMonth,
int32_t iDay);
- virtual FWL_ERR OnProcessEvent(CFWL_Event* pEvent);
+ virtual FWL_Error OnProcessEvent(CFWL_Event* pEvent);
};
#endif // XFA_FXFA_APP_XFA_FFTEXTEDIT_H_

Powered by Google App Engine
This is Rietveld 408576698