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

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

Issue 1038523004: SkPDF SkPDFObject::addResources signature simplified (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-03-25 (Wednesday) 15:53:41 EDT 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/SkPDFCatalog.cpp ('k') | src/pdf/SkPDFTypes.h » ('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 * Copyright 2013 Google Inc. 2 * Copyright 2013 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkPDFResourceDict_DEFINED 8 #ifndef SkPDFResourceDict_DEFINED
9 #define SkPDFResourceDict_DEFINED 9 #define SkPDFResourceDict_DEFINED
10 10
11 #include "SkPDFTypes.h" 11 #include "SkPDFTypes.h"
12 #include "SkTDArray.h" 12 #include "SkTDArray.h"
13 #include "SkTSet.h"
14 #include "SkTypes.h" 13 #include "SkTypes.h"
15 14
16 /** \class SkPDFResourceDict 15 /** \class SkPDFResourceDict
17 16
18 A resource dictionary, which maintains the relevant sub-dicts and 17 A resource dictionary, which maintains the relevant sub-dicts and
19 allows generation of a list of referenced SkPDFObjects inserted with 18 allows generation of a list of referenced SkPDFObjects inserted with
20 insertResourceAsRef. 19 insertResourceAsRef.
21 */ 20 */
22 class SkPDFResourceDict : public SkPDFDict { 21 class SkPDFResourceDict : public SkPDFDict {
23 public: 22 public:
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 * @return The value argument is returned. 75 * @return The value argument is returned.
77 */ 76 */
78 SkPDFObject* insertResource(SkPDFResourceType type, int key, 77 SkPDFObject* insertResource(SkPDFResourceType type, int key,
79 SkPDFObject* value); 78 SkPDFObject* value);
80 79
81 SkTDArray<SkPDFDict*> fTypes; 80 SkTDArray<SkPDFDict*> fTypes;
82 typedef SkPDFDict INHERITED; 81 typedef SkPDFDict INHERITED;
83 }; 82 };
84 83
85 #endif 84 #endif
OLDNEW
« no previous file with comments | « src/pdf/SkPDFCatalog.cpp ('k') | src/pdf/SkPDFTypes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698