From 2ca2da505ba75cd830539ffc98dfc482fd4daa41 Mon Sep 17 00:00:00 2001 From: dsinclair Date: Tue, 13 Sep 2016 18:10:34 -0700 Subject: Sort include entries. This CL updates all of the includes to be correctly sorted. A PRESUBMIT warning is added (from chromium) that will warn if the includes are in the wrong order on upload. Review-Url: https://codereview.chromium.org/2337293002 --- xfa/fwl/basewidget/ifwl_barcode.h | 2 +- xfa/fwl/basewidget/ifwl_caret.h | 2 +- xfa/fwl/basewidget/ifwl_checkbox.h | 4 ++-- xfa/fwl/basewidget/ifwl_datetimepicker.h | 4 ++-- xfa/fwl/basewidget/ifwl_listbox.h | 4 ++-- xfa/fwl/basewidget/ifwl_monthcalendar.h | 4 ++-- xfa/fwl/basewidget/ifwl_picturebox.h | 4 ++-- xfa/fwl/basewidget/ifwl_pushbutton.h | 2 +- xfa/fwl/basewidget/ifwl_scrollbar.h | 8 ++++---- 9 files changed, 17 insertions(+), 17 deletions(-) (limited to 'xfa/fwl/basewidget') diff --git a/xfa/fwl/basewidget/ifwl_barcode.h b/xfa/fwl/basewidget/ifwl_barcode.h index 13652009eb..c2f464f71b 100644 --- a/xfa/fwl/basewidget/ifwl_barcode.h +++ b/xfa/fwl/basewidget/ifwl_barcode.h @@ -7,8 +7,8 @@ #ifndef XFA_FWL_BASEWIDGET_IFWL_BARCODE_H_ #define XFA_FWL_BASEWIDGET_IFWL_BARCODE_H_ -#include "xfa/fxbarcode/include/BC_Library.h" #include "xfa/fwl/basewidget/ifwl_edit.h" +#include "xfa/fxbarcode/include/BC_Library.h" class CFWL_WidgetImpProperties; diff --git a/xfa/fwl/basewidget/ifwl_caret.h b/xfa/fwl/basewidget/ifwl_caret.h index 8648ca0a4b..53166c2aa6 100644 --- a/xfa/fwl/basewidget/ifwl_caret.h +++ b/xfa/fwl/basewidget/ifwl_caret.h @@ -7,8 +7,8 @@ #ifndef XFA_FWL_BASEWIDGET_IFWL_CARET_H_ #define XFA_FWL_BASEWIDGET_IFWL_CARET_H_ -#include "xfa/fwl/core/ifwl_widget.h" #include "xfa/fwl/core/cfwl_widgetimpproperties.h" +#include "xfa/fwl/core/ifwl_widget.h" #define FWL_CLASS_Caret L"FWL_CARET" #define FWL_STATE_CAT_HightLight 1 diff --git a/xfa/fwl/basewidget/ifwl_checkbox.h b/xfa/fwl/basewidget/ifwl_checkbox.h index 2316ada9cd..ff5e3b86f7 100644 --- a/xfa/fwl/basewidget/ifwl_checkbox.h +++ b/xfa/fwl/basewidget/ifwl_checkbox.h @@ -7,10 +7,10 @@ #ifndef XFA_FWL_BASEWIDGET_IFWL_CHECKBOX_H_ #define XFA_FWL_BASEWIDGET_IFWL_CHECKBOX_H_ -#include "xfa/fwl/core/ifwl_widget.h" #include "xfa/fwl/core/cfwl_event.h" -#include "xfa/fwl/core/ifwl_dataprovider.h" #include "xfa/fwl/core/cfwl_widgetimpproperties.h" +#include "xfa/fwl/core/ifwl_dataprovider.h" +#include "xfa/fwl/core/ifwl_widget.h" #define FWL_CLASS_CheckBox L"FWL_CHECKBOX" #define FWL_STYLEEXT_CKB_Left (0L << 0) diff --git a/xfa/fwl/basewidget/ifwl_datetimepicker.h b/xfa/fwl/basewidget/ifwl_datetimepicker.h index f592fc1abe..404ba48f14 100644 --- a/xfa/fwl/basewidget/ifwl_datetimepicker.h +++ b/xfa/fwl/basewidget/ifwl_datetimepicker.h @@ -7,10 +7,10 @@ #ifndef XFA_FWL_BASEWIDGET_IFWL_DATETIMEPICKER_H_ #define XFA_FWL_BASEWIDGET_IFWL_DATETIMEPICKER_H_ -#include "xfa/fwl/core/ifwl_widget.h" -#include "xfa/fwl/core/ifwl_dataprovider.h" #include "xfa/fwl/core/cfwl_event.h" #include "xfa/fwl/core/cfwl_widgetimpproperties.h" +#include "xfa/fwl/core/ifwl_dataprovider.h" +#include "xfa/fwl/core/ifwl_widget.h" #define FWL_CLASS_DateTimePicker L"FWL_DATETIMEPICKER" #define FWL_STYLEEXT_DTP_AllowEdit (1L << 0) diff --git a/xfa/fwl/basewidget/ifwl_listbox.h b/xfa/fwl/basewidget/ifwl_listbox.h index 010a82f705..fde6a88978 100644 --- a/xfa/fwl/basewidget/ifwl_listbox.h +++ b/xfa/fwl/basewidget/ifwl_listbox.h @@ -7,10 +7,10 @@ #ifndef XFA_FWL_BASEWIDGET_IFWL_LISTBOX_H_ #define XFA_FWL_BASEWIDGET_IFWL_LISTBOX_H_ -#include "xfa/fwl/core/ifwl_widget.h" -#include "xfa/fwl/core/ifwl_dataprovider.h" #include "xfa/fwl/core/cfwl_event.h" #include "xfa/fwl/core/cfwl_widgetimpproperties.h" +#include "xfa/fwl/core/ifwl_dataprovider.h" +#include "xfa/fwl/core/ifwl_widget.h" #define FWL_CLASS_ListBox L"FWL_LISTBOX" #define FWL_STYLEEXT_LTB_MultiSelection (1L << 0) diff --git a/xfa/fwl/basewidget/ifwl_monthcalendar.h b/xfa/fwl/basewidget/ifwl_monthcalendar.h index 40ea8cb09f..1ddebe977d 100644 --- a/xfa/fwl/basewidget/ifwl_monthcalendar.h +++ b/xfa/fwl/basewidget/ifwl_monthcalendar.h @@ -7,10 +7,10 @@ #ifndef XFA_FWL_BASEWIDGET_IFWL_MONTHCALENDAR_H_ #define XFA_FWL_BASEWIDGET_IFWL_MONTHCALENDAR_H_ -#include "xfa/fwl/core/ifwl_widget.h" #include "xfa/fwl/core/cfwl_event.h" -#include "xfa/fwl/core/ifwl_dataprovider.h" #include "xfa/fwl/core/cfwl_widgetimpproperties.h" +#include "xfa/fwl/core/ifwl_dataprovider.h" +#include "xfa/fwl/core/ifwl_widget.h" #define FWL_CLASS_MonthCalendar L"FWL_MONTHCALENDAR" #define FWL_STYLEEXT_MCD_MultiSelect (1L << 0) diff --git a/xfa/fwl/basewidget/ifwl_picturebox.h b/xfa/fwl/basewidget/ifwl_picturebox.h index 8ff4981e11..f40454a42d 100644 --- a/xfa/fwl/basewidget/ifwl_picturebox.h +++ b/xfa/fwl/basewidget/ifwl_picturebox.h @@ -7,11 +7,11 @@ #ifndef XFA_FWL_BASEWIDGET_IFWL_PICTUREBOX_H_ #define XFA_FWL_BASEWIDGET_IFWL_PICTUREBOX_H_ +#include "xfa/fwl/core/cfwl_widgetimpproperties.h" +#include "xfa/fwl/core/fwl_error.h" #include "xfa/fwl/core/fwl_widgetimp.h" #include "xfa/fwl/core/ifwl_dataprovider.h" #include "xfa/fwl/core/ifwl_widget.h" -#include "xfa/fwl/core/cfwl_widgetimpproperties.h" -#include "xfa/fwl/core/fwl_error.h" #define FWL_CLASS_PictureBox L"FWL_PICTUREBOX" #define FWL_STYLEEXT_PTB_Left 0L << 0 diff --git a/xfa/fwl/basewidget/ifwl_pushbutton.h b/xfa/fwl/basewidget/ifwl_pushbutton.h index aa8392d9db..bbac4811ac 100644 --- a/xfa/fwl/basewidget/ifwl_pushbutton.h +++ b/xfa/fwl/basewidget/ifwl_pushbutton.h @@ -7,9 +7,9 @@ #ifndef XFA_FWL_BASEWIDGET_IFWL_PUSHBUTTON_H_ #define XFA_FWL_BASEWIDGET_IFWL_PUSHBUTTON_H_ +#include "xfa/fwl/core/cfwl_widgetimpproperties.h" #include "xfa/fwl/core/fwl_widgetimp.h" #include "xfa/fwl/core/ifwl_dataprovider.h" -#include "xfa/fwl/core/cfwl_widgetimpproperties.h" #include "xfa/fwl/core/ifwl_widget.h" #define FWL_CLASS_PushButton L"FWL_PUSHBUTTON" diff --git a/xfa/fwl/basewidget/ifwl_scrollbar.h b/xfa/fwl/basewidget/ifwl_scrollbar.h index bc5c722ca9..033cfe092b 100644 --- a/xfa/fwl/basewidget/ifwl_scrollbar.h +++ b/xfa/fwl/basewidget/ifwl_scrollbar.h @@ -7,12 +7,12 @@ #ifndef XFA_FWL_BASEWIDGET_IFWL_SCROLLBAR_H_ #define XFA_FWL_BASEWIDGET_IFWL_SCROLLBAR_H_ -#include "xfa/fwl/core/fwl_widgetimp.h" -#include "xfa/fwl/core/ifwl_widget.h" -#include "xfa/fwl/core/ifwl_dataprovider.h" -#include "xfa/fwl/core/cfwl_widgetimpproperties.h" #include "core/fxcrt/include/fx_system.h" +#include "xfa/fwl/core/cfwl_widgetimpproperties.h" #include "xfa/fwl/core/fwl_error.h" +#include "xfa/fwl/core/fwl_widgetimp.h" +#include "xfa/fwl/core/ifwl_dataprovider.h" +#include "xfa/fwl/core/ifwl_widget.h" #define FWL_CLASS_ScrollBar L"FWL_SCROLLBAR" #define FWL_STYLEEXT_SCB_Horz (0L << 0) -- cgit v1.2.3