OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium 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 #ifndef PDF_PDFIUM_PDFIUM_ENGINE_H_ | 5 #ifndef PDF_PDFIUM_PDFIUM_ENGINE_H_ |
6 #define PDF_PDFIUM_PDFIUM_ENGINE_H_ | 6 #define PDF_PDFIUM_PDFIUM_ENGINE_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
529 FPDF_DOCUMENT document); | 529 FPDF_DOCUMENT document); |
530 static void Form_GetPageViewRect(FPDF_FORMFILLINFO* param, | 530 static void Form_GetPageViewRect(FPDF_FORMFILLINFO* param, |
531 FPDF_PAGE page, | 531 FPDF_PAGE page, |
532 double* left, | 532 double* left, |
533 double* top, | 533 double* top, |
534 double* right, | 534 double* right, |
535 double* bottom); | 535 double* bottom); |
536 static int Form_GetPlatform(FPDF_FORMFILLINFO* param, | 536 static int Form_GetPlatform(FPDF_FORMFILLINFO* param, |
537 void* platform, | 537 void* platform, |
538 int length); | 538 int length); |
| 539 static void Form_PageEvent(FPDF_FORMFILLINFO* param, |
| 540 int iPageIndex, |
| 541 int iEventType); |
539 static FPDF_BOOL Form_PopupMenu(FPDF_FORMFILLINFO* param, | 542 static FPDF_BOOL Form_PopupMenu(FPDF_FORMFILLINFO* param, |
540 FPDF_PAGE page, | 543 FPDF_PAGE page, |
541 FPDF_WIDGET widget, | 544 FPDF_WIDGET widget, |
542 int menu_flag, | 545 int menu_flag, |
543 float x, | 546 float x, |
544 float y); | 547 float y); |
545 static FPDF_BOOL Form_PostRequestURL(FPDF_FORMFILLINFO* param, | 548 static FPDF_BOOL Form_PostRequestURL(FPDF_FORMFILLINFO* param, |
546 FPDF_WIDESTRING url, | 549 FPDF_WIDESTRING url, |
547 FPDF_WIDESTRING data, | 550 FPDF_WIDESTRING data, |
548 FPDF_WIDESTRING content_type, | 551 FPDF_WIDESTRING content_type, |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
748 bool GetPDFPageSizeByIndex(const void* pdf_buffer, | 751 bool GetPDFPageSizeByIndex(const void* pdf_buffer, |
749 int pdf_buffer_size, | 752 int pdf_buffer_size, |
750 int page_number, | 753 int page_number, |
751 double* width, | 754 double* width, |
752 double* height) override; | 755 double* height) override; |
753 }; | 756 }; |
754 | 757 |
755 } // namespace chrome_pdf | 758 } // namespace chrome_pdf |
756 | 759 |
757 #endif // PDF_PDFIUM_PDFIUM_ENGINE_H_ | 760 #endif // PDF_PDFIUM_PDFIUM_ENGINE_H_ |
OLD | NEW |