diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-07-13 14:47:10 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-07-14 01:19:15 +0000 |
commit | 2b918c8d05c922287efbc8858f029026cee31442 (patch) | |
tree | 6a1b1585d88ef385576740e98457163bddb8347a /xfa/fxfa/app/cxfa_fffield.h | |
parent | 56fc9725f05b18573b06d8a422c5d9d6e626219d (diff) | |
download | pdfium-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/fxfa/app/cxfa_fffield.h')
-rw-r--r-- | xfa/fxfa/app/cxfa_fffield.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/xfa/fxfa/app/cxfa_fffield.h b/xfa/fxfa/app/cxfa_fffield.h index 3799eb39b7..d2eba09a62 100644 --- a/xfa/fxfa/app/cxfa_fffield.h +++ b/xfa/fxfa/app/cxfa_fffield.h @@ -24,7 +24,7 @@ class CXFA_FFField : public CXFA_FFWidget, public IFWL_WidgetDelegate { // CXFA_FFWidget CFX_RectF GetBBox(uint32_t dwStatus, bool bDrawFocus = false) override; - void RenderWidget(CFX_Graphics* pGS, + void RenderWidget(CXFA_Graphics* pGS, CFX_Matrix* pMatrix, uint32_t dwStatus) override; bool IsLoaded() override; @@ -55,7 +55,7 @@ class CXFA_FFField : public CXFA_FFWidget, public IFWL_WidgetDelegate { // IFWL_WidgetDelegate void OnProcessMessage(CFWL_Message* pMessage) override; void OnProcessEvent(CFWL_Event* pEvent) override; - void OnDrawWidget(CFX_Graphics* pGraphics, + void OnDrawWidget(CXFA_Graphics* pGraphics, const CFX_Matrix* pMatrix = nullptr) override; void UpdateFWL(); @@ -69,18 +69,18 @@ class CXFA_FFField : public CXFA_FFWidget, public IFWL_WidgetDelegate { CFWL_Widget* GetNormalWidget() { return m_pNormalWidget.get(); } CFX_PointF FWLToClient(const CFX_PointF& point); void LayoutCaption(); - void RenderCaption(CFX_Graphics* pGS, CFX_Matrix* pMatrix); + void RenderCaption(CXFA_Graphics* pGS, CFX_Matrix* pMatrix); int32_t CalculateOverride(); int32_t CalculateWidgetAcc(CXFA_WidgetAcc* pAcc); bool ProcessCommittedData(); virtual bool CommitData(); virtual bool IsDataChanged(); - void DrawHighlight(CFX_Graphics* pGS, + void DrawHighlight(CXFA_Graphics* pGS, CFX_Matrix* pMatrix, uint32_t dwStatus, bool bEllipse); - void DrawFocus(CFX_Graphics* pGS, CFX_Matrix* pMatrix); + void DrawFocus(CXFA_Graphics* pGS, CFX_Matrix* pMatrix); void TranslateFWLMessage(CFWL_Message* pMessage); void CapPlacement(); void CapTopBottomPlacement(CXFA_Caption caption, |