| 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 <map> | 8 #include <map> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <utility> | 10 #include <utility> |
| 11 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
| 14 #include "base/time/time.h" | 14 #include "base/time/time.h" |
| 15 #include "pdf/document_loader.h" | 15 #include "pdf/document_loader.h" |
| 16 #include "pdf/pdf_engine.h" | 16 #include "pdf/pdf_engine.h" |
| 17 #include "pdf/pdfium/pdfium_page.h" | 17 #include "pdf/pdfium/pdfium_page.h" |
| 18 #include "pdf/pdfium/pdfium_range.h" | 18 #include "pdf/pdfium/pdfium_range.h" |
| 19 #include "ppapi/cpp/completion_callback.h" | 19 #include "ppapi/cpp/completion_callback.h" |
| 20 #include "ppapi/cpp/dev/buffer_dev.h" | 20 #include "ppapi/cpp/dev/buffer_dev.h" |
| 21 #include "ppapi/cpp/image_data.h" | 21 #include "ppapi/cpp/image_data.h" |
| 22 #include "ppapi/cpp/point.h" | 22 #include "ppapi/cpp/point.h" |
| 23 #include "ppapi/cpp/var_array.h" | 23 #include "ppapi/cpp/var_array.h" |
| 24 #include "third_party/pdfium/fpdfsdk/include/fpdf_dataavail.h" | 24 #include "third_party/pdfium/public/fpdf_dataavail.h" |
| 25 #include "third_party/pdfium/fpdfsdk/include/fpdf_progressive.h" | 25 #include "third_party/pdfium/public/fpdf_formfill.h" |
| 26 #include "third_party/pdfium/fpdfsdk/include/fpdfformfill.h" | 26 #include "third_party/pdfium/public/fpdf_progressive.h" |
| 27 #include "third_party/pdfium/fpdfsdk/include/fpdfview.h" | 27 #include "third_party/pdfium/public/fpdfview.h" |
| 28 | 28 |
| 29 namespace pp { | 29 namespace pp { |
| 30 class KeyboardInputEvent; | 30 class KeyboardInputEvent; |
| 31 class MouseInputEvent; | 31 class MouseInputEvent; |
| 32 class VarDictionary; | 32 class VarDictionary; |
| 33 } | 33 } |
| 34 | 34 |
| 35 namespace chrome_pdf { | 35 namespace chrome_pdf { |
| 36 | 36 |
| 37 class ShadowMatrix; | 37 class ShadowMatrix; |
| (...skipping 715 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 753 | 753 |
| 754 // See the definition of GetPDFPageSizeByIndex in pdf.cc for details. | 754 // See the definition of GetPDFPageSizeByIndex in pdf.cc for details. |
| 755 virtual bool GetPDFPageSizeByIndex(const void* pdf_buffer, | 755 virtual bool GetPDFPageSizeByIndex(const void* pdf_buffer, |
| 756 int pdf_buffer_size, int page_number, | 756 int pdf_buffer_size, int page_number, |
| 757 double* width, double* height); | 757 double* width, double* height); |
| 758 }; | 758 }; |
| 759 | 759 |
| 760 } // namespace chrome_pdf | 760 } // namespace chrome_pdf |
| 761 | 761 |
| 762 #endif // PDF_PDFIUM_PDFIUM_ENGINE_H_ | 762 #endif // PDF_PDFIUM_PDFIUM_ENGINE_H_ |
| OLD | NEW |