summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2018-01-22 22:16:43 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-01-22 22:16:43 +0000
commitdd6cfdcbb5621df0ed297b2d5f31617abfd5a220 (patch)
treee862b0c42599c18c77f78a17339d5dc42be8f6a4
parent7f2d01a2dc223aca5522efaeed0eba9fc145fc51 (diff)
downloadpdfium-dd6cfdcbb5621df0ed297b2d5f31617abfd5a220.tar.xz
Cleanup WidgetAcc forward declareschromium/3329
Remove CXFA_WidgetAcc forward declarations from files which don't need them. Change-Id: I5014872f78e764024590852b920901a49966eff6 Reviewed-on: https://pdfium-review.googlesource.com/23470 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
-rw-r--r--xfa/fxfa/cxfa_fffield.h2
-rw-r--r--xfa/fxfa/cxfa_ffnumericedit.h1
-rw-r--r--xfa/fxfa/cxfa_ffpasswordedit.h2
-rw-r--r--xfa/fxfa/cxfa_fftextedit.h1
-rw-r--r--xfa/fxfa/cxfa_ffwidget.h1
-rw-r--r--xfa/fxfa/parser/xfa_utils.h1
6 files changed, 2 insertions, 6 deletions
diff --git a/xfa/fxfa/cxfa_fffield.h b/xfa/fxfa/cxfa_fffield.h
index c2ba36c798..20e3b904a2 100644
--- a/xfa/fxfa/cxfa_fffield.h
+++ b/xfa/fxfa/cxfa_fffield.h
@@ -14,6 +14,8 @@
#include "xfa/fxfa/cxfa_ffpageview.h"
#include "xfa/fxfa/cxfa_ffwidget.h"
+class CXFA_WidgetAcc;
+
#define XFA_MINUI_HEIGHT 4.32f
#define XFA_DEFAULTUI_HEIGHT 2.0f
diff --git a/xfa/fxfa/cxfa_ffnumericedit.h b/xfa/fxfa/cxfa_ffnumericedit.h
index c413ac60c0..8982ee06af 100644
--- a/xfa/fxfa/cxfa_ffnumericedit.h
+++ b/xfa/fxfa/cxfa_ffnumericedit.h
@@ -12,7 +12,6 @@
class CFWL_Event;
class CFWL_Widget;
-class CXFA_WidgetAcc;
class CXFA_FFNumericEdit : public CXFA_FFTextEdit {
public:
diff --git a/xfa/fxfa/cxfa_ffpasswordedit.h b/xfa/fxfa/cxfa_ffpasswordedit.h
index da7279ab95..28528cd4f2 100644
--- a/xfa/fxfa/cxfa_ffpasswordedit.h
+++ b/xfa/fxfa/cxfa_ffpasswordedit.h
@@ -9,8 +9,6 @@
#include "xfa/fxfa/cxfa_fftextedit.h"
-class CXFA_WidgetAcc;
-
class CXFA_FFPasswordEdit : public CXFA_FFTextEdit {
public:
explicit CXFA_FFPasswordEdit(CXFA_Node* pNode);
diff --git a/xfa/fxfa/cxfa_fftextedit.h b/xfa/fxfa/cxfa_fftextedit.h
index e8edb4691f..e21bcb1da1 100644
--- a/xfa/fxfa/cxfa_fftextedit.h
+++ b/xfa/fxfa/cxfa_fftextedit.h
@@ -15,7 +15,6 @@ class CFWL_Event;
class CFWL_Widget;
class CFX_Matrix;
class CXFA_FFWidget;
-class CXFA_WidgetAcc;
class IFWL_WidgetDelegate;
class CXFA_FFTextEdit : public CXFA_FFField {
diff --git a/xfa/fxfa/cxfa_ffwidget.h b/xfa/fxfa/cxfa_ffwidget.h
index c032aa6be6..0a9c9067f8 100644
--- a/xfa/fxfa/cxfa_ffwidget.h
+++ b/xfa/fxfa/cxfa_ffwidget.h
@@ -25,7 +25,6 @@ class CXFA_FFApp;
class CXFA_Graphics;
class CXFA_Image;
class CXFA_Margin;
-class CXFA_WidgetAcc;
enum class FWL_WidgetHit;
inline float XFA_UnitPx2Pt(float fPx, float fDpi) {
diff --git a/xfa/fxfa/parser/xfa_utils.h b/xfa/fxfa/parser/xfa_utils.h
index 9308157b1f..2dfdb1a381 100644
--- a/xfa/fxfa/parser/xfa_utils.h
+++ b/xfa/fxfa/parser/xfa_utils.h
@@ -14,7 +14,6 @@ class CFX_XMLElement;
class CFX_XMLNode;
class CXFA_LocaleValue;
class CXFA_Node;
-class CXFA_WidgetAcc;
double XFA_GetFractionalScale(uint32_t idx);
int XFA_GetMaxFractionalScale();