summaryrefslogtreecommitdiff
path: root/fpdfsdk/include/pdfwindow/PWL_Wnd.h
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-07-27 14:35:02 -0700
committerTom Sepez <tsepez@chromium.org>2015-07-27 14:35:02 -0700
commit2c3d8060505f382477dde7e79618480d774f19c3 (patch)
tree6c5f7768f081a084bcac4d0c2048058d3200396c /fpdfsdk/include/pdfwindow/PWL_Wnd.h
parentf4eb113f8be5bdcce43a9afd8b66ccb6863160e0 (diff)
downloadpdfium-2c3d8060505f382477dde7e79618480d774f19c3.tar.xz
Merge to XFA: Kill FX_READER_DLL symbol
Original Review URL: https://codereview.chromium.org/1257163002 . R=thestig@chromium.org TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1259113003 .
Diffstat (limited to 'fpdfsdk/include/pdfwindow/PWL_Wnd.h')
-rw-r--r--fpdfsdk/include/pdfwindow/PWL_Wnd.h19
1 files changed, 3 insertions, 16 deletions
diff --git a/fpdfsdk/include/pdfwindow/PWL_Wnd.h b/fpdfsdk/include/pdfwindow/PWL_Wnd.h
index 3ef4e67620..67b28cf424 100644
--- a/fpdfsdk/include/pdfwindow/PWL_Wnd.h
+++ b/fpdfsdk/include/pdfwindow/PWL_Wnd.h
@@ -21,19 +21,6 @@ class IFX_SystemHandler;
class IPWL_Provider;
class IPWL_SpellCheck;
-#ifdef FX_READER_DLL
- #ifdef PWL_EXPORT
- #define PWL_CLASS __declspec(dllexport)
- #define PWL_FUNCTION PWL_CLASS
- #else
- #define PWL_CLASS
- #define PWL_FUNCTION
- #endif
-#else
- #define PWL_CLASS
- #define PWL_FUNCTION
-#endif
-
//window styles
#define PWS_CHILD 0x80000000L
#define PWS_BORDER 0x40000000L
@@ -115,7 +102,7 @@ struct CPWL_Dash
int32_t nPhase;
};
-struct PWL_CLASS CPWL_Color
+struct CPWL_Color
{
CPWL_Color(int32_t type = COLORTYPE_TRANSPARENT, FX_FLOAT color1 = 0.0f, FX_FLOAT color2 = 0.0f, FX_FLOAT color3 = 0.0f, FX_FLOAT color4 = 0.0f)
: nColorType(type), fColor1(color1), fColor2(color2), fColor3(color3), fColor4(color4)
@@ -273,7 +260,7 @@ private:
IFX_SystemHandler* m_pSystemHandler;
};
-class PWL_CLASS CPWL_TimerHandler
+class CPWL_TimerHandler
{
public:
CPWL_TimerHandler();
@@ -288,7 +275,7 @@ private:
CPWL_Timer* m_pTimer;
};
-class PWL_CLASS CPWL_Wnd : public CPWL_TimerHandler
+class CPWL_Wnd : public CPWL_TimerHandler
{
friend class CPWL_MsgControl;
public: