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> |
| 9 #include <stdint.h> |
| 10 |
8 #include <map> | 11 #include <map> |
9 #include <string> | 12 #include <string> |
10 #include <utility> | 13 #include <utility> |
11 #include <vector> | 14 #include <vector> |
12 | 15 |
| 16 #include "base/macros.h" |
13 #include "base/memory/scoped_ptr.h" | 17 #include "base/memory/scoped_ptr.h" |
14 #include "base/time/time.h" | 18 #include "base/time/time.h" |
15 #include "pdf/document_loader.h" | 19 #include "pdf/document_loader.h" |
16 #include "pdf/pdf_engine.h" | 20 #include "pdf/pdf_engine.h" |
17 #include "pdf/pdfium/pdfium_page.h" | 21 #include "pdf/pdfium/pdfium_page.h" |
18 #include "pdf/pdfium/pdfium_range.h" | 22 #include "pdf/pdfium/pdfium_range.h" |
19 #include "ppapi/cpp/completion_callback.h" | 23 #include "ppapi/cpp/completion_callback.h" |
20 #include "ppapi/cpp/dev/buffer_dev.h" | 24 #include "ppapi/cpp/dev/buffer_dev.h" |
21 #include "ppapi/cpp/image_data.h" | 25 #include "ppapi/cpp/image_data.h" |
22 #include "ppapi/cpp/point.h" | 26 #include "ppapi/cpp/point.h" |
(...skipping 729 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
752 | 756 |
753 // See the definition of GetPDFPageSizeByIndex in pdf.cc for details. | 757 // See the definition of GetPDFPageSizeByIndex in pdf.cc for details. |
754 virtual bool GetPDFPageSizeByIndex(const void* pdf_buffer, | 758 virtual bool GetPDFPageSizeByIndex(const void* pdf_buffer, |
755 int pdf_buffer_size, int page_number, | 759 int pdf_buffer_size, int page_number, |
756 double* width, double* height); | 760 double* width, double* height); |
757 }; | 761 }; |
758 | 762 |
759 } // namespace chrome_pdf | 763 } // namespace chrome_pdf |
760 | 764 |
761 #endif // PDF_PDFIUM_PDFIUM_ENGINE_H_ | 765 #endif // PDF_PDFIUM_PDFIUM_ENGINE_H_ |
OLD | NEW |