From 9d8ec5a6e37e8d1d4d4edca9040de234e2d4728f Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Tue, 4 Aug 2015 13:00:21 -0700 Subject: XFA: clang-format all pdfium code. No behavior change. Generated by: find . -name '*.cpp' -o -name '*.h' | \ grep -E -v 'third_party|thirdparties|lpng_v163|tiff_v403' | \ xargs ../../buildtools/mac/clang-format -i Then manually merged https://codereview.chromium.org/1269223002/ See thread "tabs vs spaces" on pdfium@googlegroups.com for discussion. BUG=none --- xfa/include/fwl/core/fwl_panel.h | 52 +++++++++++++++++++++------------------- 1 file changed, 27 insertions(+), 25 deletions(-) (limited to 'xfa/include/fwl/core/fwl_panel.h') diff --git a/xfa/include/fwl/core/fwl_panel.h b/xfa/include/fwl/core/fwl_panel.h index 94c354a698..b2aa6f4799 100644 --- a/xfa/include/fwl/core/fwl_panel.h +++ b/xfa/include/fwl/core/fwl_panel.h @@ -10,31 +10,33 @@ class IFWL_Widget; class IFWL_Content; class IFWL_Panel; class IFWL_CustomPanel; -#define FWL_CLASS_Panel L"FWL_Panel" -#define FWL_CLASSHASH_Panel 881567292 -class IFWL_Panel : public IFWL_Widget -{ -public: - static IFWL_Panel* Create(); - FWL_ERR Initialize(IFWL_Widget *pOuter = NULL); - FWL_ERR Initialize(CFWL_WidgetImpProperties &properties, IFWL_Widget *pOuter = NULL); - IFWL_Content* GetContent(); - FWL_ERR SetContent(IFWL_Content *pContent); -protected: - IFWL_Panel(); - virtual ~IFWL_Panel(); +#define FWL_CLASS_Panel L"FWL_Panel" +#define FWL_CLASSHASH_Panel 881567292 +class IFWL_Panel : public IFWL_Widget { + public: + static IFWL_Panel* Create(); + FWL_ERR Initialize(IFWL_Widget* pOuter = NULL); + FWL_ERR Initialize(CFWL_WidgetImpProperties& properties, + IFWL_Widget* pOuter = NULL); + IFWL_Content* GetContent(); + FWL_ERR SetContent(IFWL_Content* pContent); + + protected: + IFWL_Panel(); + virtual ~IFWL_Panel(); }; -class IFWL_CustomPanel : public IFWL_Widget -{ -public: - static IFWL_CustomPanel* Create(); - FWL_ERR Initialize(IFWL_Widget *pOuter = NULL); - FWL_ERR Initialize(CFWL_WidgetImpProperties &properties, IFWL_Widget *pOuter = NULL); - IFWL_Content* GetContent(); - FWL_ERR SetContent(IFWL_Content *pContent); - FWL_ERR SetProxy(IFWL_Proxy *pProxy); -protected: - IFWL_CustomPanel(); - virtual ~IFWL_CustomPanel(); +class IFWL_CustomPanel : public IFWL_Widget { + public: + static IFWL_CustomPanel* Create(); + FWL_ERR Initialize(IFWL_Widget* pOuter = NULL); + FWL_ERR Initialize(CFWL_WidgetImpProperties& properties, + IFWL_Widget* pOuter = NULL); + IFWL_Content* GetContent(); + FWL_ERR SetContent(IFWL_Content* pContent); + FWL_ERR SetProxy(IFWL_Proxy* pProxy); + + protected: + IFWL_CustomPanel(); + virtual ~IFWL_CustomPanel(); }; #endif -- cgit v1.2.3