From 22d6607d104d4cb8c5263c4d307b4ba1e4ff959e Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Mon, 22 Feb 2016 11:56:05 -0500 Subject: Fixing include guards, and presubmit. This update fixes all include guards so cpplint build/header_guard completes without error. A presubmit check is added to make sure the guards stay clean. BUG=pdfium:65 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1719083002 . --- xfa/include/fwl/adapter/fwl_sdadapterimp.h | 6 +++--- xfa/include/fwl/basewidget/fwl_menu.h | 2 +- xfa/include/fwl/lightwidget/tooltipctrl.h | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'xfa/include/fwl') diff --git a/xfa/include/fwl/adapter/fwl_sdadapterimp.h b/xfa/include/fwl/adapter/fwl_sdadapterimp.h index 751ab36970..97125e5431 100644 --- a/xfa/include/fwl/adapter/fwl_sdadapterimp.h +++ b/xfa/include/fwl/adapter/fwl_sdadapterimp.h @@ -4,8 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef XFA_INCLUDE_FWL_ADAPTER_FWL_SDAPATERIMP_H_ -#define XFA_INCLUDE_FWL_ADAPTER_FWL_SDAPATERIMP_H_ +#ifndef XFA_INCLUDE_FWL_ADAPTER_FWL_SDADAPTERIMP_H_ +#define XFA_INCLUDE_FWL_ADAPTER_FWL_SDADAPTERIMP_H_ class IFWL_AdapterNative; class IFWL_AdapterWidgetMgr; @@ -90,4 +90,4 @@ class CFWL_SDAdapterThreadMgr : public IFWL_AdapterThreadMgr { virtual IFWL_Thread* GetCurrentThread(); }; -#endif // XFA_INCLUDE_FWL_ADAPTER_FWL_SDAPATERIMP_H_ +#endif // XFA_INCLUDE_FWL_ADAPTER_FWL_SDADAPTERIMP_H_ diff --git a/xfa/include/fwl/basewidget/fwl_menu.h b/xfa/include/fwl/basewidget/fwl_menu.h index 9b6f321d94..d8ab0d9292 100644 --- a/xfa/include/fwl/basewidget/fwl_menu.h +++ b/xfa/include/fwl/basewidget/fwl_menu.h @@ -14,4 +14,4 @@ #define FWL_STYLEEXT_MNU_Dock (1L << 1) #define FWL_STYLEEXT_MNU_OwnerDraw (1L << 2) -#endif // XFA_INCLUDE_FWL_BASEWIDGET_ +#endif // XFA_INCLUDE_FWL_BASEWIDGET_FWL_MENU_H_ diff --git a/xfa/include/fwl/lightwidget/tooltipctrl.h b/xfa/include/fwl/lightwidget/tooltipctrl.h index fb82548ca0..9b92f35242 100644 --- a/xfa/include/fwl/lightwidget/tooltipctrl.h +++ b/xfa/include/fwl/lightwidget/tooltipctrl.h @@ -4,8 +4,8 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef XFA_INCLUDE_FWL_LIGHTWIDGET_TOOLTIP_CTRL_H_ -#define XFA_INCLUDE_FWL_LIGHTWIDGET_TOOLTIP_CTRL_H_ +#ifndef XFA_INCLUDE_FWL_LIGHTWIDGET_TOOLTIPCTRL_H_ +#define XFA_INCLUDE_FWL_LIGHTWIDGET_TOOLTIPCTRL_H_ class CFWL_Widget; class CFWL_WidgetProperties; @@ -52,4 +52,4 @@ class CFWL_ToolTip : public CFWL_Widget { CFWL_ToolTipDP m_tooltipData; }; -#endif // XFA_INCLUDE_FWL_LIGHTWIDGET_TOOLTIP_CTRL_H_ +#endif // XFA_INCLUDE_FWL_LIGHTWIDGET_TOOLTIPCTRL_H_ -- cgit v1.2.3