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

Unified Diff: public/fpdf_macro.h

Issue 1353093003: Support linearized loading (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 5 years, 2 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
Index: public/fpdf_macro.h
diff --git a/public/fpdf_macro.h b/public/fpdf_macro.h
new file mode 100644
index 0000000000000000000000000000000000000000..224a32d9305d23b426a90812dbaba4a105e5b957
--- /dev/null
+++ b/public/fpdf_macro.h
@@ -0,0 +1,25 @@
+// Copyright 2014 PDFium Authors. All rights reserved.
Tom Sepez 2015/10/14 16:57:45 This should remain in the fpdf_datavail.h file; wh
jun_fang 2015/10/15 10:22:28 I replied it for your first comment.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
+
+#ifndef PUBLIC_FPDF_MACRO_H_
+#define PUBLIC_FPDF_MACRO_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define PDF_LINEARIZATION_UNKNOWN -1
+#define PDF_NOT_LINEARIZED 0
+#define PDF_LINEARIZED 1
+#define PDF_FORM_NOTAVAIL 0
+#define PDF_FORM_AVAIL 1
+#define PDF_FORM_NOTEXIST 2
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif // PUBLIC_FPDF_MACRO_H_

Powered by Google App Engine
This is Rietveld 408576698