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

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

Issue 2525083002: Rename IFWL classes which do not have CFWL equivalents (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_notedriver.cpp ('k') | xfa/fwl/core/cfwl_scrollbar.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: xfa/fwl/core/cfwl_scrollbar.h
diff --git a/xfa/fwl/core/ifwl_scrollbar.h b/xfa/fwl/core/cfwl_scrollbar.h
similarity index 93%
rename from xfa/fwl/core/ifwl_scrollbar.h
rename to xfa/fwl/core/cfwl_scrollbar.h
index a5619b79a4030ce53d3f29be74f09fc12e7da260..69f362d5310e378d7da299dcc16b8594156e673e 100644
--- a/xfa/fwl/core/ifwl_scrollbar.h
+++ b/xfa/fwl/core/cfwl_scrollbar.h
@@ -4,8 +4,8 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef XFA_FWL_CORE_IFWL_SCROLLBAR_H_
-#define XFA_FWL_CORE_IFWL_SCROLLBAR_H_
+#ifndef XFA_FWL_CORE_CFWL_SCROLLBAR_H_
+#define XFA_FWL_CORE_CFWL_SCROLLBAR_H_
#include <memory>
@@ -20,12 +20,12 @@ class IFWL_Widget;
#define FWL_STYLEEXT_SCB_Horz (0L << 0)
#define FWL_STYLEEXT_SCB_Vert (1L << 0)
-class IFWL_ScrollBar : public IFWL_Widget {
+class CFWL_ScrollBar : public IFWL_Widget {
public:
- IFWL_ScrollBar(const CFWL_App* app,
+ CFWL_ScrollBar(const CFWL_App* app,
std::unique_ptr<CFWL_WidgetProperties> properties,
IFWL_Widget* pOuter);
- ~IFWL_ScrollBar() override;
+ ~CFWL_ScrollBar() override;
// IFWL_Widget
FWL_Type GetClassID() const override;
@@ -58,12 +58,12 @@ class IFWL_ScrollBar : public IFWL_Widget {
private:
class Timer : public CFWL_Timer {
public:
- explicit Timer(IFWL_ScrollBar* pToolTip);
+ explicit Timer(CFWL_ScrollBar* pToolTip);
~Timer() override {}
void Run(CFWL_TimerInfo* pTimerInfo) override;
};
- friend class IFWL_ScrollBar::Timer;
+ friend class CFWL_ScrollBar::Timer;
bool IsVertical() const {
return !!(m_pProperties->m_dwStyleExes & FWL_STYLEEXT_SCB_Vert);
@@ -144,7 +144,7 @@ class IFWL_ScrollBar : public IFWL_Widget {
CFX_RectF m_rtMinTrack;
CFX_RectF m_rtMaxTrack;
FX_FLOAT m_fMinThumb;
- IFWL_ScrollBar::Timer m_Timer;
+ CFWL_ScrollBar::Timer m_Timer;
};
-#endif // XFA_FWL_CORE_IFWL_SCROLLBAR_H_
+#endif // XFA_FWL_CORE_CFWL_SCROLLBAR_H_
« no previous file with comments | « xfa/fwl/core/cfwl_notedriver.cpp ('k') | xfa/fwl/core/cfwl_scrollbar.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698