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 16 matching lines...) Expand all Loading... |
27 #include "ppapi/cpp/point.h" | 27 #include "ppapi/cpp/point.h" |
28 #include "ppapi/cpp/var_array.h" | 28 #include "ppapi/cpp/var_array.h" |
29 #include "third_party/pdfium/public/fpdf_dataavail.h" | 29 #include "third_party/pdfium/public/fpdf_dataavail.h" |
30 #include "third_party/pdfium/public/fpdf_formfill.h" | 30 #include "third_party/pdfium/public/fpdf_formfill.h" |
31 #include "third_party/pdfium/public/fpdf_progressive.h" | 31 #include "third_party/pdfium/public/fpdf_progressive.h" |
32 #include "third_party/pdfium/public/fpdfview.h" | 32 #include "third_party/pdfium/public/fpdfview.h" |
33 | 33 |
34 namespace pp { | 34 namespace pp { |
35 class KeyboardInputEvent; | 35 class KeyboardInputEvent; |
36 class MouseInputEvent; | 36 class MouseInputEvent; |
37 class VarDictionary; | |
38 } | 37 } |
39 | 38 |
40 namespace chrome_pdf { | 39 namespace chrome_pdf { |
41 | 40 |
42 class ShadowMatrix; | 41 class ShadowMatrix; |
43 | 42 |
44 class PDFiumEngine : public PDFEngine, | 43 class PDFiumEngine : public PDFEngine, |
45 public DocumentLoader::Client, | 44 public DocumentLoader::Client, |
46 public FPDF_FORMFILLINFO, | 45 public FPDF_FORMFILLINFO, |
47 public IPDF_JSPLATFORM, | 46 public IPDF_JSPLATFORM, |
(...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
793 bool GetPDFPageSizeByIndex(const void* pdf_buffer, | 792 bool GetPDFPageSizeByIndex(const void* pdf_buffer, |
794 int pdf_buffer_size, | 793 int pdf_buffer_size, |
795 int page_number, | 794 int page_number, |
796 double* width, | 795 double* width, |
797 double* height) override; | 796 double* height) override; |
798 }; | 797 }; |
799 | 798 |
800 } // namespace chrome_pdf | 799 } // namespace chrome_pdf |
801 | 800 |
802 #endif // PDF_PDFIUM_PDFIUM_ENGINE_H_ | 801 #endif // PDF_PDFIUM_PDFIUM_ENGINE_H_ |
OLD | NEW |