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

Side by Side Diff: pdf/pdfium/pdfium_engine.h

Issue 1643943002: Add a callback function: PDFiumEngine::Form_PageEvent (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 unified diff | Download patch
« no previous file with comments | « no previous file | pdf/pdfium/pdfium_engine.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« 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