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

Unified Diff: core/include/fxcodec/fx_codec_provider.h

Issue 1398383002: core/ difference with XFA (for information only). (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: After bidi 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: core/include/fxcodec/fx_codec_provider.h
diff --git a/core/include/fxcodec/fx_codec_provider.h b/core/include/fxcodec/fx_codec_provider.h
index 9cb59651cccc7b597a46b6024f8392a334135689..943d9dfc2f8dcee36947c04a51fb1259d807b0ab 100644
--- a/core/include/fxcodec/fx_codec_provider.h
+++ b/core/include/fxcodec/fx_codec_provider.h
@@ -9,6 +9,10 @@
#include "../fxcrt/fx_system.h"
+#ifdef PDF_ENABLE_XFA
+class CFX_DIBAttribute;
+
+#endif
class IFX_JpegProvider {
public:
virtual void Release() = 0;
@@ -58,7 +62,12 @@ class IFX_JpegProvider {
virtual int ReadHeader(void* pContext,
int* width,
int* height,
+#ifndef PDF_ENABLE_XFA
int* nComps) = 0;
+#else
+ int* nComps,
+ CFX_DIBAttribute* pAttribute = NULL) = 0;
Lei Zhang 2015/10/30 06:15:30 dislike
+#endif
virtual int StartScanline(void* pContext, int down_scale) = 0;

Powered by Google App Engine
This is Rietveld 408576698