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

Unified Diff: pdf/pdfium/pdfium_engine.h

Issue 705823002: Add pdf layer code for PDFium XFA module (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change verion to 2 Created 6 years, 1 month 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 | « no previous file | pdf/pdfium/pdfium_engine.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pdf/pdfium/pdfium_engine.h
diff --git a/pdf/pdfium/pdfium_engine.h b/pdf/pdfium/pdfium_engine.h
index cb3d0f4030e8f0aa2cd497dfe4bb10f4559f4d57..38fafdd7fe9c1aa96afa31d49851226ef0092432 100644
--- a/pdf/pdfium/pdfium_engine.h
+++ b/pdf/pdfium/pdfium_engine.h
@@ -473,6 +473,70 @@ class PDFiumEngine : public PDFEngine,
static void Form_GotoPage(IPDF_JSPLATFORM* param, int page_number);
static int Form_Browse(IPDF_JSPLATFORM* param, void* file_path, int length);
+#ifdef PDF_USE_XFA
+ static void Form_EmailTo(FPDF_FORMFILLINFO* param,
+ FPDF_FILEHANDLER* file_handler,
+ FPDF_WIDESTRING to,
+ FPDF_WIDESTRING subject,
+ FPDF_WIDESTRING cc,
+ FPDF_WIDESTRING bcc,
+ FPDF_WIDESTRING message);
+ static void Form_DisplayCaret(FPDF_FORMFILLINFO* param,
+ FPDF_PAGE page,
+ FPDF_BOOL visible,
+ double left,
+ double top,
+ double right,
+ double bottom);
+ static void Form_SetCurrentPage(FPDF_FORMFILLINFO* param,
+ FPDF_DOCUMENT document,
+ int page);
+ static int Form_GetCurrentPageIndex(FPDF_FORMFILLINFO* param,
+ FPDF_DOCUMENT document);
+ static void Form_GetPageViewRect(FPDF_FORMFILLINFO* param,
+ FPDF_PAGE page,
+ double* left,
+ double* top,
+ double* right,
+ double* bottom);
+ static int Form_GetPlatform(FPDF_FORMFILLINFO* param,
+ void* platform,
+ int length);
+ static FPDF_BOOL Form_PopupMenu(FPDF_FORMFILLINFO* param,
+ FPDF_PAGE page,
+ FPDF_WIDGET widget,
+ int menu_flag,
+ float x,
+ float y);
+ static FPDF_BOOL Form_PostRequestURL(FPDF_FORMFILLINFO* param,
+ FPDF_WIDESTRING url,
+ FPDF_WIDESTRING data,
+ FPDF_WIDESTRING content_type,
+ FPDF_WIDESTRING encode,
+ FPDF_WIDESTRING header,
+ FPDF_BSTR* response);
+ static FPDF_BOOL Form_PutRequestURL(FPDF_FORMFILLINFO* param,
+ FPDF_WIDESTRING url,
+ FPDF_WIDESTRING data,
+ FPDF_WIDESTRING encode);
+ static void Form_UploadTo(FPDF_FORMFILLINFO* param,
+ FPDF_FILEHANDLER* file_handler,
+ int file_flag,
+ FPDF_WIDESTRING dest);
+ static FPDF_LPFILEHANDLER Form_DownloadFromURL(FPDF_FORMFILLINFO* param,
+ FPDF_WIDESTRING url);
+ static FPDF_FILEHANDLER* Form_OpenFile(FPDF_FORMFILLINFO* param,
+ int file_flag,
+ FPDF_WIDESTRING url,
+ const char* mode);
+ static void Form_GotoURL(FPDF_FORMFILLINFO* param,
+ FPDF_DOCUMENT document,
+ FPDF_WIDESTRING url);
+ static int Form_GetLanguage(FPDF_FORMFILLINFO* param,
+ void* language,
+ int length);
+#endif // PDF_USE_XFA
+
// IFSDK_PAUSE callbacks
static FPDF_BOOL Pause_NeedToPauseNow(IFSDK_PAUSE* param);
« no previous file with comments | « no previous file | pdf/pdfium/pdfium_engine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698