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

Unified Diff: xfa/fwl/lightwidget/cfwl_scrollbar.h

Issue 1943413002: Convert FWL_ERR into an enum class. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@bcdattribute
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/lightwidget/cfwl_pushbutton.cpp ('k') | xfa/fwl/lightwidget/cfwl_scrollbar.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fwl/lightwidget/cfwl_scrollbar.h
diff --git a/xfa/fwl/lightwidget/cfwl_scrollbar.h b/xfa/fwl/lightwidget/cfwl_scrollbar.h
index 89c0fe44e4789a941ede731bcc5df5ca66f56ff9..fd80e8b8abcd53b70de0e07f19c28114e5f3a77e 100644
--- a/xfa/fwl/lightwidget/cfwl_scrollbar.h
+++ b/xfa/fwl/lightwidget/cfwl_scrollbar.h
@@ -12,18 +12,18 @@
class CFWL_ScrollBar : public CFWL_Widget {
public:
static CFWL_ScrollBar* Create();
- FWL_ERR Initialize(const CFWL_WidgetProperties* pProperties = NULL);
+ FWL_Error Initialize(const CFWL_WidgetProperties* pProperties = NULL);
FX_BOOL IsVertical();
- FWL_ERR GetRange(FX_FLOAT& fMin, FX_FLOAT& fMax);
- FWL_ERR SetRange(FX_FLOAT fMin, FX_FLOAT fMax);
+ FWL_Error GetRange(FX_FLOAT& fMin, FX_FLOAT& fMax);
+ FWL_Error SetRange(FX_FLOAT fMin, FX_FLOAT fMax);
FX_FLOAT GetPageSize();
- FWL_ERR SetPageSize(FX_FLOAT fPageSize);
+ FWL_Error SetPageSize(FX_FLOAT fPageSize);
FX_FLOAT GetStepSize();
- FWL_ERR SetStepSize(FX_FLOAT fStepSize);
+ FWL_Error SetStepSize(FX_FLOAT fStepSize);
FX_FLOAT GetPos();
- FWL_ERR SetPos(FX_FLOAT fPos);
+ FWL_Error SetPos(FX_FLOAT fPos);
FX_FLOAT GetTrackPos();
- FWL_ERR SetTrackPos(FX_FLOAT fTrackPos);
+ FWL_Error SetTrackPos(FX_FLOAT fTrackPos);
FX_BOOL DoScroll(uint32_t dwCode, FX_FLOAT fPos = 0.0f);
CFWL_ScrollBar();
virtual ~CFWL_ScrollBar();
« no previous file with comments | « xfa/fwl/lightwidget/cfwl_pushbutton.cpp ('k') | xfa/fwl/lightwidget/cfwl_scrollbar.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698