| OLD | NEW |
| 1 #ifndef EXPERIMENTAL_PDFVIEWER_PDFPARSER_NATIVE_SKNATIVEPARSEDPDF_H_ | 1 /* |
| 2 #define EXPERIMENTAL_PDFVIEWER_PDFPARSER_NATIVE_SKNATIVEPARSEDPDF_H_ | 2 * Copyright 2013 Google Inc. |
| 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. |
| 6 */ |
| 7 |
| 8 #ifndef SkPdfNativeDoc_DEFINED |
| 9 #define SkPdfNativeDoc_DEFINED |
| 3 | 10 |
| 4 #include "SkRect.h" | 11 #include "SkRect.h" |
| 5 #include "SkTDArray.h" | 12 #include "SkTDArray.h" |
| 6 | 13 |
| 7 class SkCanvas; | 14 class SkCanvas; |
| 8 | 15 |
| 9 class SkPdfAllocator; | 16 class SkPdfAllocator; |
| 10 class SkPdfMapper; | 17 class SkPdfMapper; |
| 11 class SkPdfNativeObject; | 18 class SkPdfNativeObject; |
| 12 class SkPdfReal; | 19 class SkPdfReal; |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 SkPdfMapper* fMapper; | 102 SkPdfMapper* fMapper; |
| 96 const unsigned char* fFileContent; | 103 const unsigned char* fFileContent; |
| 97 size_t fContentLength; | 104 size_t fContentLength; |
| 98 SkPdfNativeObject* fRootCatalogRef; | 105 SkPdfNativeObject* fRootCatalogRef; |
| 99 SkPdfCatalogDictionary* fRootCatalog; | 106 SkPdfCatalogDictionary* fRootCatalog; |
| 100 | 107 |
| 101 mutable SkTDArray<PublicObjectEntry> fObjects; | 108 mutable SkTDArray<PublicObjectEntry> fObjects; |
| 102 SkTDArray<SkPdfPageObjectDictionary*> fPages; | 109 SkTDArray<SkPdfPageObjectDictionary*> fPages; |
| 103 }; | 110 }; |
| 104 | 111 |
| 105 #endif // EXPERIMENTAL_PDFVIEWER_PDFPARSER_NATIVE_SKNATIVEPARSEDPDF_H_ | 112 #endif // SkPdfNativeDoc_DEFINED |
| OLD | NEW |