summaryrefslogtreecommitdiff
path: root/xfa/fwl/cfwl_widgetmgr.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-07-13 14:47:10 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-07-14 01:19:15 +0000
commit2b918c8d05c922287efbc8858f029026cee31442 (patch)
tree6a1b1585d88ef385576740e98457163bddb8347a /xfa/fwl/cfwl_widgetmgr.h
parent56fc9725f05b18573b06d8a422c5d9d6e626219d (diff)
downloadpdfium-2b918c8d05c922287efbc8858f029026cee31442.tar.xz
Fixup naming of XFA graphics classes
These files were originally renamed thinking they'd move with the colour class up to core/. It was decided that CPWL_Color was a better core colour class the the xfa colour so these are being renamed back to XFA based names to make it clear where they live. Change-Id: Ie89f2306be0609add29bd445e719567e7b439211 Reviewed-on: https://pdfium-review.googlesource.com/7754 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fwl/cfwl_widgetmgr.h')
-rw-r--r--xfa/fwl/cfwl_widgetmgr.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/xfa/fwl/cfwl_widgetmgr.h b/xfa/fwl/cfwl_widgetmgr.h
index 4c12e707f6..3b26c7155d 100644
--- a/xfa/fwl/cfwl_widgetmgr.h
+++ b/xfa/fwl/cfwl_widgetmgr.h
@@ -13,14 +13,14 @@
#include "core/fxcrt/fx_system.h"
#include "xfa/fwl/ifwl_widgetmgrdelegate.h"
-#include "xfa/fxgraphics/cfx_graphics.h"
+#include "xfa/fxgraphics/cxfa_graphics.h"
#define FWL_WGTMGR_DisableForm 0x00000002
class CFWL_Message;
class CXFA_FFApp;
class CXFA_FWLAdapterWidgetMgr;
-class CFX_Graphics;
+class CXFA_Graphics;
class CFX_Matrix;
class CFWL_Widget;
@@ -33,7 +33,7 @@ class CFWL_WidgetMgr : public CFWL_WidgetMgrDelegate {
void OnSetCapability(uint32_t dwCapability) override;
void OnProcessMessageToForm(CFWL_Message* pMessage) override;
void OnDrawWidget(CFWL_Widget* pWidget,
- CFX_Graphics* pGraphics,
+ CXFA_Graphics* pGraphics,
const CFX_Matrix* pMatrix) override;
CFWL_Widget* GetParentWidget(CFWL_Widget* pWidget) const;
@@ -82,7 +82,7 @@ class CFWL_WidgetMgr : public CFWL_WidgetMgrDelegate {
Item* pPrevious;
Item* pNext;
CFWL_Widget* const pWidget;
- std::unique_ptr<CFX_Graphics> pOffscreen;
+ std::unique_ptr<CXFA_Graphics> pOffscreen;
int32_t iRedrawCounter;
#if (_FX_OS_ == _FX_WIN32_DESKTOP_) || (_FX_OS_ == _FX_WIN64_)
bool bOutsideChanged;
@@ -103,11 +103,11 @@ class CFWL_WidgetMgr : public CFWL_WidgetMgrDelegate {
void DrawChild(CFWL_Widget* pParent,
const CFX_RectF& rtClip,
- CFX_Graphics* pGraphics,
+ CXFA_Graphics* pGraphics,
const CFX_Matrix* pMatrix);
- CFX_Graphics* DrawWidgetBefore(CFWL_Widget* pWidget,
- CFX_Graphics* pGraphics,
- const CFX_Matrix* pMatrix);
+ CXFA_Graphics* DrawWidgetBefore(CFWL_Widget* pWidget,
+ CXFA_Graphics* pGraphics,
+ const CFX_Matrix* pMatrix);
bool IsNeedRepaint(CFWL_Widget* pWidget,
CFX_Matrix* pMatrix,
const CFX_RectF& rtDirty);