summaryrefslogtreecommitdiff
path: root/xfa/include/fwl/basewidget/fwl_scrollbar.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2016-02-25 13:38:37 -0500
committerDan Sinclair <dsinclair@chromium.org>2016-02-25 13:38:37 -0500
commite73c5ceb8176dfd92138780f640ac193f1c0ea30 (patch)
treed7e68f16a64807c322e6f9045e2920adf564800f /xfa/include/fwl/basewidget/fwl_scrollbar.h
parent2e6864282e65c55ff6809f5aaae011b31c3a361a (diff)
downloadpdfium-e73c5ceb8176dfd92138780f640ac193f1c0ea30.tar.xz
Remove include only fwl.h and IWYU.
R=thestig@chromium.org Review URL: https://codereview.chromium.org/1735833003 .
Diffstat (limited to 'xfa/include/fwl/basewidget/fwl_scrollbar.h')
-rw-r--r--xfa/include/fwl/basewidget/fwl_scrollbar.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/xfa/include/fwl/basewidget/fwl_scrollbar.h b/xfa/include/fwl/basewidget/fwl_scrollbar.h
index 691ec8826c..6a6df77087 100644
--- a/xfa/include/fwl/basewidget/fwl_scrollbar.h
+++ b/xfa/include/fwl/basewidget/fwl_scrollbar.h
@@ -7,10 +7,8 @@
#ifndef XFA_INCLUDE_FWL_BASEWIDGET_FWL_SCROLLBAR_H_
#define XFA_INCLUDE_FWL_BASEWIDGET_FWL_SCROLLBAR_H_
-class CFWL_WidgetImpProperties;
-class IFWL_Widget;
-class IFWL_ScrollBarDP;
-class IFWL_ScrollBar;
+#include "xfa/src/fwl/src/core/include/fwl_widgetimp.h"
+
#define FWL_CLASS_ScrollBar L"FWL_SCROLLBAR"
#define FWL_CLASSHASH_ScrollBar 2826584844
#define FWL_STYLEEXT_SCB_Horz (0L << 0)
@@ -33,6 +31,7 @@ class IFWL_ScrollBar;
#define FWL_WGTHITTEST_SCB_UpperTrack FWL_WGTHITTEST_MAX + 4
#define FWL_WGTHITTEST_SCB_Thumb FWL_WGTHITTEST_MAX + 5
#define FWL_CAPACITY_SCB_Size FWL_WGTCAPACITY_MAX
+
enum FWL_SCBCODE {
FWL_SCBCODE_None = 1,
FWL_SCBCODE_Min,
@@ -45,7 +44,9 @@ enum FWL_SCBCODE {
FWL_SCBCODE_TrackPos,
FWL_SCBCODE_EndScroll,
};
+
class IFWL_ScrollBarDP : public IFWL_DataProvider {};
+
class IFWL_ScrollBar : public IFWL_Widget {
public:
static IFWL_ScrollBar* Create(const CFWL_WidgetImpProperties& properties,