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

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

Issue 2110033002: Remove unnecessary includes in src/pdf/ (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: fix order Created 4 years, 5 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/SkPDFMetadata.h ('k') | src/pdf/SkPDFResourceDict.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 * 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 "SkRefCnt.h"
12 #include "SkTDArray.h" 12 #include "SkTDArray.h"
13 #include "SkTypes.h" 13
14 class SkPDFDict;
15 class SkPDFObject;
14 16
15 /** \class SkPDFResourceDict 17 /** \class SkPDFResourceDict
16 18
17 A resource dictionary, which maintains the relevant sub-dicts and 19 A resource dictionary, which maintains the relevant sub-dicts and
18 allows generation of a list of referenced SkPDFObjects inserted with 20 allows generation of a list of referenced SkPDFObjects inserted with
19 insertResourceAsRef. 21 insertResourceAsRef.
20 */ 22 */
21 class SkPDFResourceDict { 23 class SkPDFResourceDict {
22 public: 24 public:
23 enum SkPDFResourceType { 25 enum SkPDFResourceType {
(...skipping 23 matching lines...) Expand all
47 * dict. 49 * dict.
48 * 50 *
49 * @param type The type of resource being entered, like 51 * @param type The type of resource being entered, like
50 * kPattern_ResourceType or kExtGState_ResourceType. 52 * kPattern_ResourceType or kExtGState_ResourceType.
51 * @param key The resource key, should be unique within its type. 53 * @param key The resource key, should be unique within its type.
52 */ 54 */
53 static SkString getResourceName(SkPDFResourceType type, int key); 55 static SkString getResourceName(SkPDFResourceType type, int key);
54 }; 56 };
55 57
56 #endif 58 #endif
OLDNEW
« no previous file with comments | « src/pdf/SkPDFMetadata.h ('k') | src/pdf/SkPDFResourceDict.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698