From 19922bbc0d62b81e0fdd6a01da39e9b875c53c68 Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Thu, 28 May 2015 13:23:12 -0700 Subject: Merge to XFA: Fix ALL the include guards. Original Review URL: https://codereview.chromium.org/1160443004 TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1162013003 --- core/src/fxge/agg/include/fx_agg_driver.h | 9 ++++++--- core/src/fxge/agg/include/fxfx_agg_basics.h | 8 +++++--- core/src/fxge/agg/include/fxfx_agg_clip_liang_barsky.h | 8 +++++--- core/src/fxge/agg/include/fxfx_agg_conv_dash.h | 8 +++++--- core/src/fxge/agg/include/fxfx_agg_conv_stroke.h | 8 +++++--- core/src/fxge/agg/include/fxfx_agg_curves.h | 8 +++++--- core/src/fxge/agg/include/fxfx_agg_path_storage.h | 8 +++++--- core/src/fxge/agg/include/fxfx_agg_rasterizer_scanline_aa.h | 8 +++++--- core/src/fxge/agg/include/fxfx_agg_renderer_scanline.h | 8 +++++--- core/src/fxge/agg/include/fxfx_agg_rendering_buffer.h | 8 +++++--- core/src/fxge/agg/include/fxfx_agg_scanline_u.h | 8 +++++--- 11 files changed, 56 insertions(+), 33 deletions(-) (limited to 'core/src/fxge/agg') diff --git a/core/src/fxge/agg/include/fx_agg_driver.h b/core/src/fxge/agg/include/fx_agg_driver.h index c87fc246be..f4b9368eff 100644 --- a/core/src/fxge/agg/include/fx_agg_driver.h +++ b/core/src/fxge/agg/include/fx_agg_driver.h @@ -4,10 +4,12 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _FX_AGG_DEVICE_DRIVER_ -#define _FX_AGG_DEVICE_DRIVER_ +#ifndef FX_AGG_DRIVER_H_ +#define FX_AGG_DRIVER_H_ + #include "fxfx_agg_path_storage.h" #include "fxfx_agg_rasterizer_scanline_aa.h" + class CAgg_PathData { public: @@ -118,4 +120,5 @@ public: CFX_DIBitmap* m_pOriDevice; FX_BOOL m_bGroupKnockout; }; -#endif + +#endif // FX_AGG_DRIVER_H_ diff --git a/core/src/fxge/agg/include/fxfx_agg_basics.h b/core/src/fxge/agg/include/fxfx_agg_basics.h index 57fbd2ebb9..e27a843bba 100644 --- a/core/src/fxge/agg/include/fxfx_agg_basics.h +++ b/core/src/fxge/agg/include/fxfx_agg_basics.h @@ -4,7 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _FXFX_AGG_BASICS_H_ -#define _FXFX_AGG_BASICS_H_ +#ifndef FXFX_AGG_BASICS_H_ +#define FXFX_AGG_BASICS_H_ + #include "../agg23/agg_basics.h" -#endif + +#endif // FXFX_AGG_BASICS_H_ diff --git a/core/src/fxge/agg/include/fxfx_agg_clip_liang_barsky.h b/core/src/fxge/agg/include/fxfx_agg_clip_liang_barsky.h index 948b619355..2b64bf900a 100644 --- a/core/src/fxge/agg/include/fxfx_agg_clip_liang_barsky.h +++ b/core/src/fxge/agg/include/fxfx_agg_clip_liang_barsky.h @@ -4,7 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _FXFX_AGG_CLIP_LIANG_BARSKY_H_ -#define _FXFX_AGG_CLIP_LIANG_BARSKY_H_ +#ifndef FXFX_AGG_CLIP_LIANG_BARSKY_H_ +#define FXFX_AGG_CLIP_LIANG_BARSKY_H_ + #include "../agg23/agg_clip_liang_barsky.h" -#endif + +#endif // FXFX_AGG_CLIP_LIANG_BARSKY_H_ diff --git a/core/src/fxge/agg/include/fxfx_agg_conv_dash.h b/core/src/fxge/agg/include/fxfx_agg_conv_dash.h index 5f80a06e19..fb1e42dae9 100644 --- a/core/src/fxge/agg/include/fxfx_agg_conv_dash.h +++ b/core/src/fxge/agg/include/fxfx_agg_conv_dash.h @@ -4,7 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _FXFX_AGG_CONV_DASH_H_ -#define _FXFX_AGG_CONV_DASH_H_ +#ifndef FXFX_AGG_CONV_DASH_H_ +#define FXFX_AGG_CONV_DASH_H_ + #include "../agg23/agg_conv_dash.h" -#endif + +#endif // FXFX_AGG_CONV_DASH_H_ diff --git a/core/src/fxge/agg/include/fxfx_agg_conv_stroke.h b/core/src/fxge/agg/include/fxfx_agg_conv_stroke.h index de38386ea2..531df5012e 100644 --- a/core/src/fxge/agg/include/fxfx_agg_conv_stroke.h +++ b/core/src/fxge/agg/include/fxfx_agg_conv_stroke.h @@ -4,7 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _FXFX_AGG_CONV_STROKE_H_ -#define _FXFX_AGG_CONV_STROKE_H_ +#ifndef FXFX_AGG_CONV_STROKE_H_ +#define FXFX_AGG_CONV_STROKE_H_ + #include "../agg23/agg_conv_stroke.h" -#endif + +#endif // FXFX_AGG_CONV_STROKE_H_ diff --git a/core/src/fxge/agg/include/fxfx_agg_curves.h b/core/src/fxge/agg/include/fxfx_agg_curves.h index 54efaa2b26..1879958eca 100644 --- a/core/src/fxge/agg/include/fxfx_agg_curves.h +++ b/core/src/fxge/agg/include/fxfx_agg_curves.h @@ -4,7 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _FXFX_AGG_CURVERS_H_ -#define _FXFX_AGG_CURVERS_H_ +#ifndef FXFX_AGG_CURVES_H_ +#define FXFX_AGG_CURVES_H_ + #include "../agg23/agg_curves.h" -#endif + +#endif // FXFX_AGG_CURVES_H_ diff --git a/core/src/fxge/agg/include/fxfx_agg_path_storage.h b/core/src/fxge/agg/include/fxfx_agg_path_storage.h index 9168eb26a8..ab7a85bca5 100644 --- a/core/src/fxge/agg/include/fxfx_agg_path_storage.h +++ b/core/src/fxge/agg/include/fxfx_agg_path_storage.h @@ -4,7 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _FXFX_AGG_PATH_STORAGE_H_ -#define _FXFX_AGG_PATH_STORAGE_H_ +#ifndef FXFX_AGG_PATH_STORAGE_H_ +#define FXFX_AGG_PATH_STORAGE_H_ + #include "../agg23/agg_path_storage.h" -#endif + +#endif // FXFX_AGG_PATH_STORAGE_H_ diff --git a/core/src/fxge/agg/include/fxfx_agg_rasterizer_scanline_aa.h b/core/src/fxge/agg/include/fxfx_agg_rasterizer_scanline_aa.h index 3f61cec51a..a445298f81 100644 --- a/core/src/fxge/agg/include/fxfx_agg_rasterizer_scanline_aa.h +++ b/core/src/fxge/agg/include/fxfx_agg_rasterizer_scanline_aa.h @@ -4,7 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _FXFX_AGG_RASTERIZER_SCANLINE_AA_H_ -#define _FXFX_AGG_RASTERIZER_SCANLINE_AA_H_ +#ifndef FXFX_AGG_RASTERIZER_SCANLINE_AA_H_ +#define FXFX_AGG_RASTERIZER_SCANLINE_AA_H_ + #include "../agg23/agg_rasterizer_scanline_aa.h" -#endif + +#endif // FXFX_AGG_RASTERIZER_SCANLINE_AA_H_ diff --git a/core/src/fxge/agg/include/fxfx_agg_renderer_scanline.h b/core/src/fxge/agg/include/fxfx_agg_renderer_scanline.h index 11d8cbb0a8..1775dabe3e 100644 --- a/core/src/fxge/agg/include/fxfx_agg_renderer_scanline.h +++ b/core/src/fxge/agg/include/fxfx_agg_renderer_scanline.h @@ -4,7 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _FXFX_AGG_RENDER_SCANLINE_H_ -#define _FXFX_AGG_RENDER_SCANLINE_H_ +#ifndef FXFX_AGG_RENDER_SCANLINE_H_ +#define FXFX_AGG_RENDER_SCANLINE_H_ + #include "../agg23/agg_renderer_scanline.h" -#endif + +#endif // FXFX_AGG_RENDER_SCANLINE_H_ diff --git a/core/src/fxge/agg/include/fxfx_agg_rendering_buffer.h b/core/src/fxge/agg/include/fxfx_agg_rendering_buffer.h index eb6886e8de..0eb48b84c0 100644 --- a/core/src/fxge/agg/include/fxfx_agg_rendering_buffer.h +++ b/core/src/fxge/agg/include/fxfx_agg_rendering_buffer.h @@ -4,7 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _FXFX_AGG_RENDERING_BUFFER_H_ -#define _FXFX_AGG_RENDERING_BUFFER_H_ +#ifndef FXFX_AGG_RENDERING_BUFFER_H_ +#define FXFX_AGG_RENDERING_BUFFER_H_ + #include "../agg23/agg_rendering_buffer.h" -#endif + +#endif // FXFX_AGG_RENDERING_BUFFER_H_ diff --git a/core/src/fxge/agg/include/fxfx_agg_scanline_u.h b/core/src/fxge/agg/include/fxfx_agg_scanline_u.h index cc7d2e7f75..c850f621a3 100644 --- a/core/src/fxge/agg/include/fxfx_agg_scanline_u.h +++ b/core/src/fxge/agg/include/fxfx_agg_scanline_u.h @@ -4,7 +4,9 @@ // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com -#ifndef _FXFX_AGG_SCANLINE_U_H_ -#define _FXFX_AGG_SCANLINE_U_H_ +#ifndef FXFX_AGG_SCANLINE_U_H_ +#define FXFX_AGG_SCANLINE_U_H_ + #include "../agg23/agg_scanline_u.h" -#endif + +#endif // FXFX_AGG_SCANLINE_U_H_ -- cgit v1.2.3