summaryrefslogtreecommitdiff
path: root/xfa/fwl/core/ifwl_widget.cpp
diff options
context:
space:
mode:
authordsinclair <dsinclair@chromium.org>2016-11-22 15:56:11 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-22 15:56:11 -0800
commit1a7534a1a477323f7b8497e359f6af6e9bd54cd5 (patch)
tree0c3ad1071eb568a533d558086c1cc32728e396fe /xfa/fwl/core/ifwl_widget.cpp
parentd64372989fcb4e5af66f437ad7b8be343cb1aa67 (diff)
downloadpdfium-1a7534a1a477323f7b8497e359f6af6e9bd54cd5.tar.xz
Rename IFWL_App to CFWL_App
This class is not an interface but a concrete implementation. Rename to match. Review-Url: https://codereview.chromium.org/2521303002
Diffstat (limited to 'xfa/fwl/core/ifwl_widget.cpp')
-rw-r--r--xfa/fwl/core/ifwl_widget.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/xfa/fwl/core/ifwl_widget.cpp b/xfa/fwl/core/ifwl_widget.cpp
index 102ca2e0f0..040a57f696 100644
--- a/xfa/fwl/core/ifwl_widget.cpp
+++ b/xfa/fwl/core/ifwl_widget.cpp
@@ -10,6 +10,7 @@
#include <utility>
#include "xfa/fde/tto/fde_textout.h"
+#include "xfa/fwl/core/cfwl_app.h"
#include "xfa/fwl/core/cfwl_evtkey.h"
#include "xfa/fwl/core/cfwl_evtkillfocus.h"
#include "xfa/fwl/core/cfwl_evtmouse.h"
@@ -26,7 +27,6 @@
#include "xfa/fwl/core/cfwl_themepart.h"
#include "xfa/fwl/core/cfwl_themetext.h"
#include "xfa/fwl/core/cfwl_widgetmgr.h"
-#include "xfa/fwl/core/ifwl_app.h"
#include "xfa/fwl/core/ifwl_combobox.h"
#include "xfa/fwl/core/ifwl_form.h"
#include "xfa/fwl/core/ifwl_themeprovider.h"
@@ -37,7 +37,7 @@
#define FWL_WGT_CalcWidth 2048
#define FWL_WGT_CalcMultiLineDefWidth 120.0f
-IFWL_Widget::IFWL_Widget(const IFWL_App* app,
+IFWL_Widget::IFWL_Widget(const CFWL_App* app,
std::unique_ptr<CFWL_WidgetProperties> properties,
IFWL_Widget* pOuter)
: m_pOwnerApp(app),
@@ -459,7 +459,7 @@ void IFWL_Widget::SetFocus(bool bFocus) {
if (m_pWidgetMgr->IsFormDisabled())
return;
- const IFWL_App* pApp = GetOwnerApp();
+ const CFWL_App* pApp = GetOwnerApp();
if (!pApp)
return;
@@ -476,7 +476,7 @@ void IFWL_Widget::SetFocus(bool bFocus) {
}
void IFWL_Widget::SetGrab(bool bSet) {
- const IFWL_App* pApp = GetOwnerApp();
+ const CFWL_App* pApp = GetOwnerApp();
if (!pApp)
return;
@@ -585,7 +585,7 @@ bool IFWL_Widget::GetPopupPosGeneral(FX_FLOAT fMinHeight,
}
void IFWL_Widget::RegisterEventTarget(IFWL_Widget* pEventSource) {
- const IFWL_App* pApp = GetOwnerApp();
+ const CFWL_App* pApp = GetOwnerApp();
if (!pApp)
return;
@@ -597,7 +597,7 @@ void IFWL_Widget::RegisterEventTarget(IFWL_Widget* pEventSource) {
}
void IFWL_Widget::UnregisterEventTarget() {
- const IFWL_App* pApp = GetOwnerApp();
+ const CFWL_App* pApp = GetOwnerApp();
if (!pApp)
return;
@@ -625,7 +625,7 @@ void IFWL_Widget::DispatchEvent(CFWL_Event* pEvent) {
m_pOuter->GetDelegate()->OnProcessEvent(pEvent);
return;
}
- const IFWL_App* pApp = GetOwnerApp();
+ const CFWL_App* pApp = GetOwnerApp();
if (!pApp)
return;
@@ -695,7 +695,7 @@ void IFWL_Widget::DrawEdge(CFX_Graphics* pGraphics,
}
void IFWL_Widget::NotifyDriver() {
- const IFWL_App* pApp = GetOwnerApp();
+ const CFWL_App* pApp = GetOwnerApp();
if (!pApp)
return;