Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(301)

Side by Side Diff: fpdfsdk/include/formfiller/FFL_Utils.h

Issue 1254703002: FX_BOOL considered harmful, part 2. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « fpdfsdk/include/formfiller/FFL_TextField.h ('k') | fpdfsdk/include/fsdk_actionhandler.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef FPDFSDK_INCLUDE_FORMFILLER_FFL_UTILS_H_ 7 #ifndef FPDFSDK_INCLUDE_FORMFILLER_FFL_UTILS_H_
8 #define FPDFSDK_INCLUDE_FORMFILLER_FFL_UTILS_H_ 8 #define FPDFSDK_INCLUDE_FORMFILLER_FFL_UTILS_H_
9 9
10 #include "../../../core/include/fpdfapi/fpdf_parser.h" 10 #include "../../../core/include/fpdfapi/fpdf_parser.h"
11 11
12 class CFFL_Utils 12 class CFFL_Utils
13 { 13 {
14 public: 14 public:
15 static CPDF_Rect MaxRect(const CPDF_Rect& rect1,const CPDF_Rect& rect2); 15 static CPDF_Rect MaxRect(const CPDF_Rect& rect1,const CPDF_Rect& rect2);
16 static CPDF_Rect InflateRect(const CPDF_Rect& crRect, 16 static CPDF_Rect InflateRect(const CPDF_Rect& crRect,
17 const FX_FLOAT& fSize); 17 const FX_FLOAT& fSize);
18 static CPDF_Rect DeflateRect(const CPDF_Rect& crRect, 18 static CPDF_Rect DeflateRect(const CPDF_Rect& crRect,
19 const FX_FLOAT& fSize); 19 const FX_FLOAT& fSize);
20 static FX_BOOL TraceObject(CPDF_Object* pObj); 20 static bool TraceObject(CPDF_Object* pObj);
21 }; 21 };
22 22
23 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_UTILS_H_ 23 #endif // FPDFSDK_INCLUDE_FORMFILLER_FFL_UTILS_H_
OLDNEW
« no previous file with comments | « fpdfsdk/include/formfiller/FFL_TextField.h ('k') | fpdfsdk/include/fsdk_actionhandler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698