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

Side by Side Diff: src/pdf/SkPDFCatalog.h

Issue 968683002: PDF: Switch some unit tests to higher level API. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 9 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 | « src/pdf/SkPDFBitmap.cpp ('k') | tests/AnnotationTest.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2010 The Android Open Source Project 3 * Copyright 2010 The Android Open Source Project
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #ifndef SkPDFCatalog_DEFINED 10 #ifndef SkPDFCatalog_DEFINED
11 #define SkPDFCatalog_DEFINED 11 #define SkPDFCatalog_DEFINED
12 12
13 #include <sys/types.h> 13 #include <sys/types.h>
14 14
15 #include "SkPDFDocument.h"
16 #include "SkPDFTypes.h" 15 #include "SkPDFTypes.h"
17 #include "SkRefCnt.h"
18 #include "SkTDArray.h" 16 #include "SkTDArray.h"
19 17
20 /** \class SkPDFCatalog 18 /** \class SkPDFCatalog
21 19
22 The PDF catalog manages object numbers and file offsets. It is used 20 The PDF catalog manages object numbers and file offsets. It is used
23 to create the PDF cross reference table. 21 to create the PDF cross reference table.
24 */ 22 */
25 class SkPDFCatalog { 23 class SkPDFCatalog {
26 public: 24 public:
27 /** Create a PDF catalog. 25 /** Create a PDF catalog.
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 uint32_t fNextObjNum; 99 uint32_t fNextObjNum;
102 // Next object number to assign on the first page. 100 // Next object number to assign on the first page.
103 uint32_t fNextFirstPageObjNum; 101 uint32_t fNextFirstPageObjNum;
104 102
105 int findObjectIndex(SkPDFObject* obj); 103 int findObjectIndex(SkPDFObject* obj);
106 104
107 int assignObjNum(SkPDFObject* obj); 105 int assignObjNum(SkPDFObject* obj);
108 }; 106 };
109 107
110 #endif 108 #endif
OLDNEW
« no previous file with comments | « src/pdf/SkPDFBitmap.cpp ('k') | tests/AnnotationTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698