summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_ffapp.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-09-21 11:40:11 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-09-21 19:31:40 +0000
commit3418f710f923785a0fd05f7c556d09bc9a8d3447 (patch)
treedf125a64fb73ff52e2ccdfb053abe096881b0bb8 /xfa/fxfa/cxfa_ffapp.h
parenta44a48043e54eac6126c9a2cfae9e6055ef4a15f (diff)
downloadpdfium-3418f710f923785a0fd05f7c556d09bc9a8d3447.tar.xz
Rename CXFA_FFApp::GetWidgetMgr to make it clear the typechromium/3222
The CXFA_FFApp::GetWidgetMgr has two return types. This CL renames the methods to make it clear which one is being used. Change-Id: Id4fdaa33c1e6079afd2f0f7dcc77ae46f1c07ac2 Reviewed-on: https://pdfium-review.googlesource.com/14610 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_ffapp.h')
-rw-r--r--xfa/fxfa/cxfa_ffapp.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/xfa/fxfa/cxfa_ffapp.h b/xfa/fxfa/cxfa_ffapp.h
index c19fe5063d..4f2a06db0a 100644
--- a/xfa/fxfa/cxfa_ffapp.h
+++ b/xfa/fxfa/cxfa_ffapp.h
@@ -36,7 +36,10 @@ class CXFA_FFApp {
void SetDefaultFontMgr(std::unique_ptr<CFGAS_DefaultFontManager> pFontMgr);
CXFA_FFDocHandler* GetDocHandler();
- CXFA_FWLAdapterWidgetMgr* GetWidgetMgr(CFWL_WidgetMgr* pDelegate);
+
+ CXFA_FWLAdapterWidgetMgr* GetFWLAdapterWidgetMgr(CFWL_WidgetMgr* pDelegate);
+ CFWL_WidgetMgr* GetFWLWidgetMgr() const { return m_pWidgetMgr.Get(); }
+
CFGAS_FontMgr* GetFDEFontMgr();
CXFA_FWLTheme* GetFWLTheme();
@@ -44,7 +47,6 @@ class CXFA_FFApp {
const CFWL_App* GetFWLApp() const { return m_pFWLApp.get(); }
IFWL_AdapterTimerMgr* GetTimerMgr() const;
CXFA_FontMgr* GetXFAFontMgr() const;
- CFWL_WidgetMgr* GetWidgetMgr() const { return m_pWidgetMgr.Get(); }
void ClearEventTargets();