diff options
author | tsepez <tsepez@chromium.org> | 2016-05-25 15:24:31 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-05-25 15:24:31 -0700 |
commit | 648575aaa8989be7071e7ec61293470a44cf2d94 (patch) | |
tree | fa9cdde2ef23b2a408c9ef037a52a0f4c3b86115 | |
parent | 1e2c557e0fa0e47c8bafdb31c833ea4f90f5fedd (diff) | |
download | pdfium-648575aaa8989be7071e7ec61293470a44cf2d94.tar.xz |
Rename fwl_widgetmgrimp.{cpp,h} to cfwl_widgetmgr.{cpp,h}
Review-Url: https://codereview.chromium.org/2004293004
-rw-r--r-- | BUILD.gn | 4 | ||||
-rw-r--r-- | xfa.gyp | 4 | ||||
-rw-r--r-- | xfa/fwl/basewidget/fwl_checkboximp.cpp | 2 | ||||
-rw-r--r-- | xfa/fwl/basewidget/fwl_comboboximp.cpp | 2 | ||||
-rw-r--r-- | xfa/fwl/basewidget/fwl_datetimepickerimp.cpp | 2 | ||||
-rw-r--r-- | xfa/fwl/basewidget/fwl_editimp.cpp | 2 | ||||
-rw-r--r-- | xfa/fwl/core/cfwl_widgetmgr.cpp (renamed from xfa/fwl/core/fwl_widgetmgrimp.cpp) | 8 | ||||
-rw-r--r-- | xfa/fwl/core/cfwl_widgetmgr.h (renamed from xfa/fwl/core/fwl_widgetmgrimp.h) | 8 | ||||
-rw-r--r-- | xfa/fwl/core/fwl_appimp.cpp | 2 | ||||
-rw-r--r-- | xfa/fwl/core/fwl_formimp.cpp | 2 | ||||
-rw-r--r-- | xfa/fwl/core/fwl_noteimp.cpp | 2 | ||||
-rw-r--r-- | xfa/fwl/core/fwl_widgetimp.cpp | 2 | ||||
-rw-r--r-- | xfa/fwl/lightwidget/cfwl_widget.cpp | 2 | ||||
-rw-r--r-- | xfa/fwl/theme/cfwl_widgettp.cpp | 2 | ||||
-rw-r--r-- | xfa/fxfa/app/xfa_ffapp.cpp | 2 | ||||
-rw-r--r-- | xfa/fxfa/app/xfa_ffcheckbutton.cpp | 2 | ||||
-rw-r--r-- | xfa/fxfa/app/xfa_fffield.cpp | 2 | ||||
-rw-r--r-- | xfa/fxfa/app/xfa_ffpushbutton.cpp | 2 |
18 files changed, 26 insertions, 26 deletions
@@ -1030,6 +1030,8 @@ if (pdf_enable_xfa) { "xfa/fwl/core/cfwl_themepart.h", "xfa/fwl/core/cfwl_themetext.h", "xfa/fwl/core/cfwl_widgetimpproperties.h", + "xfa/fwl/core/cfwl_widgetmgr.cpp", + "xfa/fwl/core/cfwl_widgetmgr.h", "xfa/fwl/core/fwl_appimp.cpp", "xfa/fwl/core/fwl_appimp.h", "xfa/fwl/core/fwl_error.h", @@ -1041,8 +1043,6 @@ if (pdf_enable_xfa) { "xfa/fwl/core/fwl_widgetdef.h", "xfa/fwl/core/fwl_widgetimp.cpp", "xfa/fwl/core/fwl_widgetimp.h", - "xfa/fwl/core/fwl_widgetmgrimp.cpp", - "xfa/fwl/core/fwl_widgetmgrimp.h", "xfa/fwl/core/ifwl_app.h", "xfa/fwl/core/ifwl_dataprovider.h", "xfa/fwl/core/ifwl_form.h", @@ -173,6 +173,8 @@ "xfa/fwl/core/cfwl_themepart.h", "xfa/fwl/core/cfwl_themetext.h", "xfa/fwl/core/cfwl_widgetimpproperties.h", + "xfa/fwl/core/cfwl_widgetmgr.cpp", + "xfa/fwl/core/cfwl_widgetmgr.h", "xfa/fwl/core/fwl_appimp.cpp", "xfa/fwl/core/fwl_appimp.h", "xfa/fwl/core/fwl_error.h", @@ -184,8 +186,6 @@ "xfa/fwl/core/fwl_widgetdef.h", "xfa/fwl/core/fwl_widgetimp.cpp", "xfa/fwl/core/fwl_widgetimp.h", - "xfa/fwl/core/fwl_widgetmgrimp.cpp", - "xfa/fwl/core/fwl_widgetmgrimp.h", "xfa/fwl/core/ifwl_app.h", "xfa/fwl/core/ifwl_dataprovider.h", "xfa/fwl/core/ifwl_form.h", diff --git a/xfa/fwl/basewidget/fwl_checkboximp.cpp b/xfa/fwl/basewidget/fwl_checkboximp.cpp index ade6ebf155..5b22dc5abb 100644 --- a/xfa/fwl/basewidget/fwl_checkboximp.cpp +++ b/xfa/fwl/basewidget/fwl_checkboximp.cpp @@ -13,9 +13,9 @@ #include "xfa/fwl/core/cfwl_message.h" #include "xfa/fwl/core/cfwl_themebackground.h" #include "xfa/fwl/core/cfwl_themetext.h" +#include "xfa/fwl/core/cfwl_widgetmgr.h" #include "xfa/fwl/core/fwl_noteimp.h" #include "xfa/fwl/core/fwl_widgetimp.h" -#include "xfa/fwl/core/fwl_widgetmgrimp.h" #include "xfa/fwl/core/ifwl_themeprovider.h" namespace { diff --git a/xfa/fwl/basewidget/fwl_comboboximp.cpp b/xfa/fwl/basewidget/fwl_comboboximp.cpp index bf2f3aeff7..3e70cffffd 100644 --- a/xfa/fwl/basewidget/fwl_comboboximp.cpp +++ b/xfa/fwl/basewidget/fwl_comboboximp.cpp @@ -16,11 +16,11 @@ #include "xfa/fwl/core/cfwl_themebackground.h" #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/fwl_appimp.h" #include "xfa/fwl/core/fwl_formimp.h" #include "xfa/fwl/core/fwl_noteimp.h" #include "xfa/fwl/core/fwl_widgetimp.h" -#include "xfa/fwl/core/fwl_widgetmgrimp.h" #include "xfa/fwl/core/ifwl_app.h" #include "xfa/fwl/core/ifwl_themeprovider.h" diff --git a/xfa/fwl/basewidget/fwl_datetimepickerimp.cpp b/xfa/fwl/basewidget/fwl_datetimepickerimp.cpp index a0af1a0d71..6e2b4dee99 100644 --- a/xfa/fwl/basewidget/fwl_datetimepickerimp.cpp +++ b/xfa/fwl/basewidget/fwl_datetimepickerimp.cpp @@ -12,10 +12,10 @@ #include "xfa/fwl/basewidget/ifwl_spinbutton.h" #include "xfa/fwl/core/cfwl_message.h" #include "xfa/fwl/core/cfwl_themebackground.h" +#include "xfa/fwl/core/cfwl_widgetmgr.h" #include "xfa/fwl/core/fwl_formimp.h" #include "xfa/fwl/core/fwl_noteimp.h" #include "xfa/fwl/core/fwl_widgetimp.h" -#include "xfa/fwl/core/fwl_widgetmgrimp.h" #include "xfa/fwl/core/ifwl_themeprovider.h" namespace { diff --git a/xfa/fwl/basewidget/fwl_editimp.cpp b/xfa/fwl/basewidget/fwl_editimp.cpp index 5975062902..15cdf031f1 100644 --- a/xfa/fwl/basewidget/fwl_editimp.cpp +++ b/xfa/fwl/basewidget/fwl_editimp.cpp @@ -23,10 +23,10 @@ #include "xfa/fwl/core/cfwl_message.h" #include "xfa/fwl/core/cfwl_themebackground.h" #include "xfa/fwl/core/cfwl_themepart.h" +#include "xfa/fwl/core/cfwl_widgetmgr.h" #include "xfa/fwl/core/fwl_appimp.h" #include "xfa/fwl/core/fwl_noteimp.h" #include "xfa/fwl/core/fwl_widgetimp.h" -#include "xfa/fwl/core/fwl_widgetmgrimp.h" #include "xfa/fwl/core/ifwl_themeprovider.h" #include "xfa/fxfa/include/xfa_ffdoc.h" #include "xfa/fxfa/include/xfa_ffwidget.h" diff --git a/xfa/fwl/core/fwl_widgetmgrimp.cpp b/xfa/fwl/core/cfwl_widgetmgr.cpp index 98d135c96d..760be7107b 100644 --- a/xfa/fwl/core/fwl_widgetmgrimp.cpp +++ b/xfa/fwl/core/cfwl_widgetmgr.cpp @@ -4,7 +4,7 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#include "xfa/fwl/core/fwl_widgetmgrimp.h" +#include "xfa/fwl/core/cfwl_widgetmgr.h" #include "xfa/fwl/core/cfwl_message.h" #include "xfa/fwl/core/fwl_appimp.h" @@ -619,13 +619,13 @@ void CFWL_WidgetMgrDelegate::OnDrawWidget(IFWL_Widget* pWidget, } CFX_RectF clipBounds; -#if (_FX_OS_ == _FX_WIN32_DESKTOP_) || (_FX_OS_ == _FX_WIN64_) || \ - (_FX_OS_ == _FX_LINUX_DESKTOP_) || (_FX_OS_ == _FX_ANDROID_) +#if _FX_OS_ == _FX_WIN32_DESKTOP_ || _FX_OS_ == _FX_WIN64_ || \ + _FX_OS_ == _FX_LINUX_DESKTOP_ || _FX_OS_ == _FX_ANDROID_ IFWL_WidgetDelegate* pDelegate = pWidget->SetDelegate(NULL); pDelegate->OnDrawWidget(pTemp, pMatrix); pGraphics->GetClipRect(clipBounds); clipCopy = clipBounds; -#elif(_FX_OS_ == _FX_MACOSX_) +#elif _FX_OS_ == _FX_MACOSX_ if (m_pWidgetMgr->IsFormDisabled()) { IFWL_WidgetDelegate* pDelegate = pWidget->SetDelegate(NULL); pDelegate->OnDrawWidget(pTemp, pMatrix); diff --git a/xfa/fwl/core/fwl_widgetmgrimp.h b/xfa/fwl/core/cfwl_widgetmgr.h index 64fda0724e..957f6dc428 100644 --- a/xfa/fwl/core/fwl_widgetmgrimp.h +++ b/xfa/fwl/core/cfwl_widgetmgr.h @@ -4,8 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef XFA_FWL_CORE_FWL_WIDGETMGRIMP_H_ -#define XFA_FWL_CORE_FWL_WIDGETMGRIMP_H_ +#ifndef XFA_FWL_CORE_CFWL_WIDGETMGR_H_ +#define XFA_FWL_CORE_CFWL_WIDGETMGR_H_ #include <map> #include <memory> @@ -127,7 +127,7 @@ class CFWL_WidgetMgr { class CFWL_WidgetMgrDelegate { public: - CFWL_WidgetMgrDelegate(CFWL_WidgetMgr* pWidgetMgr); + explicit CFWL_WidgetMgrDelegate(CFWL_WidgetMgr* pWidgetMgr); ~CFWL_WidgetMgrDelegate() {} FWL_Error OnSetCapability(uint32_t dwCapability = FWL_WGTMGR_DisableThread); @@ -156,4 +156,4 @@ class CFWL_WidgetMgrDelegate { CFWL_WidgetMgr* m_pWidgetMgr; }; -#endif // XFA_FWL_CORE_FWL_WIDGETMGRIMP_H_ +#endif // XFA_FWL_CORE_CFWL_WIDGETMGR_H_ diff --git a/xfa/fwl/core/fwl_appimp.cpp b/xfa/fwl/core/fwl_appimp.cpp index 1b90d369b5..089a6d3693 100644 --- a/xfa/fwl/core/fwl_appimp.cpp +++ b/xfa/fwl/core/fwl_appimp.cpp @@ -6,8 +6,8 @@ #include "xfa/fwl/core/fwl_appimp.h" +#include "xfa/fwl/core/cfwl_widgetmgr.h" #include "xfa/fwl/core/fwl_noteimp.h" -#include "xfa/fwl/core/fwl_widgetmgrimp.h" #include "xfa/fwl/core/ifwl_app.h" #include "xfa/fwl/core/ifwl_widget.h" #include "xfa/fxfa/app/xfa_fwladapter.h" diff --git a/xfa/fwl/core/fwl_formimp.cpp b/xfa/fwl/core/fwl_formimp.cpp index 9cfd70e4c7..4b595e2c2d 100644 --- a/xfa/fwl/core/fwl_formimp.cpp +++ b/xfa/fwl/core/fwl_formimp.cpp @@ -12,10 +12,10 @@ #include "xfa/fwl/core/cfwl_themebackground.h" #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/fwl_appimp.h" #include "xfa/fwl/core/fwl_noteimp.h" #include "xfa/fwl/core/fwl_widgetimp.h" -#include "xfa/fwl/core/fwl_widgetmgrimp.h" #include "xfa/fwl/core/ifwl_app.h" #include "xfa/fwl/core/ifwl_themeprovider.h" #include "xfa/fwl/theme/cfwl_widgettp.h" diff --git a/xfa/fwl/core/fwl_noteimp.cpp b/xfa/fwl/core/fwl_noteimp.cpp index 7d123f7560..41201e6b6b 100644 --- a/xfa/fwl/core/fwl_noteimp.cpp +++ b/xfa/fwl/core/fwl_noteimp.cpp @@ -10,10 +10,10 @@ #include "xfa/fwl/basewidget/fwl_tooltipctrlimp.h" #include "xfa/fwl/basewidget/ifwl_tooltip.h" #include "xfa/fwl/core/cfwl_message.h" +#include "xfa/fwl/core/cfwl_widgetmgr.h" #include "xfa/fwl/core/fwl_appimp.h" #include "xfa/fwl/core/fwl_formimp.h" #include "xfa/fwl/core/fwl_widgetimp.h" -#include "xfa/fwl/core/fwl_widgetmgrimp.h" #include "xfa/fwl/core/ifwl_app.h" #include "xfa/fwl/core/ifwl_tooltiptarget.h" diff --git a/xfa/fwl/core/fwl_widgetimp.cpp b/xfa/fwl/core/fwl_widgetimp.cpp index f6e130b563..adf548f24e 100644 --- a/xfa/fwl/core/fwl_widgetimp.cpp +++ b/xfa/fwl/core/fwl_widgetimp.cpp @@ -15,9 +15,9 @@ #include "xfa/fwl/core/cfwl_themebackground.h" #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/fwl_appimp.h" #include "xfa/fwl/core/fwl_noteimp.h" -#include "xfa/fwl/core/fwl_widgetmgrimp.h" #include "xfa/fwl/core/ifwl_app.h" #include "xfa/fwl/core/ifwl_form.h" #include "xfa/fwl/core/ifwl_themeprovider.h" diff --git a/xfa/fwl/lightwidget/cfwl_widget.cpp b/xfa/fwl/lightwidget/cfwl_widget.cpp index 20c9a3b92f..0258c27489 100644 --- a/xfa/fwl/lightwidget/cfwl_widget.cpp +++ b/xfa/fwl/lightwidget/cfwl_widget.cpp @@ -8,10 +8,10 @@ #include "xfa/fde/tto/fde_textout.h" #include "xfa/fwl/core/cfwl_themetext.h" +#include "xfa/fwl/core/cfwl_widgetmgr.h" #include "xfa/fwl/core/fwl_noteimp.h" #include "xfa/fwl/core/fwl_noteimp.h" #include "xfa/fwl/core/fwl_widgetimp.h" -#include "xfa/fwl/core/fwl_widgetmgrimp.h" #include "xfa/fwl/core/ifwl_app.h" #include "xfa/fwl/core/ifwl_themeprovider.h" diff --git a/xfa/fwl/theme/cfwl_widgettp.cpp b/xfa/fwl/theme/cfwl_widgettp.cpp index f4aea4aab6..828a16ade6 100644 --- a/xfa/fwl/theme/cfwl_widgettp.cpp +++ b/xfa/fwl/theme/cfwl_widgettp.cpp @@ -13,7 +13,7 @@ #include "xfa/fwl/core/cfwl_themebackground.h" #include "xfa/fwl/core/cfwl_themepart.h" #include "xfa/fwl/core/cfwl_themetext.h" -#include "xfa/fwl/core/fwl_widgetmgrimp.h" +#include "xfa/fwl/core/cfwl_widgetmgr.h" #include "xfa/fwl/core/ifwl_themeprovider.h" #include "xfa/fwl/core/ifwl_widget.h" #include "xfa/fxgraphics/cfx_color.h" diff --git a/xfa/fxfa/app/xfa_ffapp.cpp b/xfa/fxfa/app/xfa_ffapp.cpp index 2dcb7a4e81..6b7c06dc21 100644 --- a/xfa/fxfa/app/xfa_ffapp.cpp +++ b/xfa/fxfa/app/xfa_ffapp.cpp @@ -9,7 +9,7 @@ #include <algorithm> #include "xfa/fgas/font/fgas_stdfontmgr.h" -#include "xfa/fwl/core/fwl_widgetmgrimp.h" +#include "xfa/fwl/core/cfwl_widgetmgr.h" #include "xfa/fxfa/app/xfa_fwladapter.h" #include "xfa/fxfa/app/xfa_fwltheme.h" #include "xfa/fxfa/include/xfa_ffdoc.h" diff --git a/xfa/fxfa/app/xfa_ffcheckbutton.cpp b/xfa/fxfa/app/xfa_ffcheckbutton.cpp index 84a6013528..65b4247934 100644 --- a/xfa/fxfa/app/xfa_ffcheckbutton.cpp +++ b/xfa/fxfa/app/xfa_ffcheckbutton.cpp @@ -7,8 +7,8 @@ #include "xfa/fxfa/app/xfa_ffcheckbutton.h" #include "xfa/fwl/core/cfwl_message.h" +#include "xfa/fwl/core/cfwl_widgetmgr.h" #include "xfa/fwl/core/fwl_noteimp.h" -#include "xfa/fwl/core/fwl_widgetmgrimp.h" #include "xfa/fwl/lightwidget/cfwl_checkbox.h" #include "xfa/fxfa/app/xfa_ffexclgroup.h" #include "xfa/fxfa/app/xfa_fffield.h" diff --git a/xfa/fxfa/app/xfa_fffield.cpp b/xfa/fxfa/app/xfa_fffield.cpp index 177a06484f..72fb14380f 100644 --- a/xfa/fxfa/app/xfa_fffield.cpp +++ b/xfa/fxfa/app/xfa_fffield.cpp @@ -8,7 +8,7 @@ #include "xfa/fwl/basewidget/ifwl_edit.h" #include "xfa/fwl/core/cfwl_message.h" -#include "xfa/fwl/core/fwl_widgetmgrimp.h" +#include "xfa/fwl/core/cfwl_widgetmgr.h" #include "xfa/fwl/lightwidget/cfwl_edit.h" #include "xfa/fwl/lightwidget/cfwl_picturebox.h" #include "xfa/fxfa/app/xfa_fwltheme.h" diff --git a/xfa/fxfa/app/xfa_ffpushbutton.cpp b/xfa/fxfa/app/xfa_ffpushbutton.cpp index 96b6d77096..c210814a42 100644 --- a/xfa/fxfa/app/xfa_ffpushbutton.cpp +++ b/xfa/fxfa/app/xfa_ffpushbutton.cpp @@ -6,8 +6,8 @@ #include "xfa/fxfa/app/xfa_ffpushbutton.h" +#include "xfa/fwl/core/cfwl_widgetmgr.h" #include "xfa/fwl/core/fwl_noteimp.h" -#include "xfa/fwl/core/fwl_widgetmgrimp.h" #include "xfa/fwl/lightwidget/cfwl_pushbutton.h" #include "xfa/fxfa/app/xfa_fffield.h" #include "xfa/fxfa/app/xfa_ffwidgetacc.h" |