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

Unified Diff: core/fpdfdoc/pdf_vt.h

Issue 1800523005: Move core/src/ up to core/. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/fpdfdoc/doc_vtmodule.cpp ('k') | core/fpdfdoc/tagged_int.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fpdfdoc/pdf_vt.h
diff --git a/core/src/fpdfdoc/pdf_vt.h b/core/fpdfdoc/pdf_vt.h
similarity index 98%
rename from core/src/fpdfdoc/pdf_vt.h
rename to core/fpdfdoc/pdf_vt.h
index 13ec71a1256702bd2f75a4ef353c8797ce0df19e..53c48af4ec76fdb5e9dfe93bb494b783acacf51d 100644
--- a/core/src/fpdfdoc/pdf_vt.h
+++ b/core/fpdfdoc/pdf_vt.h
@@ -4,21 +4,14 @@
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-#ifndef CORE_SRC_FPDFDOC_PDF_VT_H_
-#define CORE_SRC_FPDFDOC_PDF_VT_H_
+#ifndef CORE_FPDFDOC_PDF_VT_H_
+#define CORE_FPDFDOC_PDF_VT_H_
+
+#include "core/include/fpdfdoc/fpdf_vt.h"
-class CPVT_Size;
-class CPVT_FloatRect;
-struct CPVT_SectionInfo;
-struct CPVT_LineInfo;
-struct CPVT_WordInfo;
-class CLine;
-class CLines;
-class CSection;
-class CTypeset;
-class CPDF_EditContainer;
class CPDF_VariableText;
class CPDF_VariableText_Iterator;
+
#define IsFloatZero(f) ((f) < 0.0001 && (f) > -0.0001)
#define IsFloatBigger(fa, fb) ((fa) > (fb) && !IsFloatZero((fa) - (fb)))
#define IsFloatSmaller(fa, fb) ((fa) < (fb) && !IsFloatZero((fa) - (fb)))
@@ -558,4 +551,4 @@ class CPDF_VariableText_Iterator : public IPDF_VariableText_Iterator {
CPDF_VariableText* m_pVT;
};
-#endif // CORE_SRC_FPDFDOC_PDF_VT_H_
+#endif // CORE_FPDFDOC_PDF_VT_H_
« no previous file with comments | « core/fpdfdoc/doc_vtmodule.cpp ('k') | core/fpdfdoc/tagged_int.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698