OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2006 The Android Open Source Project | 3 * Copyright 2006 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 SkDOM_DEFINED | 10 #ifndef SkDOM_DEFINED |
11 #define SkDOM_DEFINED | 11 #define SkDOM_DEFINED |
12 | 12 |
| 13 #include "../private/SkTemplates.h" |
13 #include "SkChunkAlloc.h" | 14 #include "SkChunkAlloc.h" |
14 #include "SkScalar.h" | 15 #include "SkScalar.h" |
15 #include "SkTemplates.h" | |
16 | 16 |
17 struct SkDOMNode; | 17 struct SkDOMNode; |
18 struct SkDOMAttr; | 18 struct SkDOMAttr; |
19 | 19 |
20 class SkDOMParser; | 20 class SkDOMParser; |
21 class SkXMLParser; | 21 class SkXMLParser; |
22 | 22 |
23 class SkDOM { | 23 class SkDOM { |
24 public: | 24 public: |
25 SkDOM(); | 25 SkDOM(); |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 private: | 90 private: |
91 SkChunkAlloc fAlloc; | 91 SkChunkAlloc fAlloc; |
92 Node* fRoot; | 92 Node* fRoot; |
93 SkAutoTDelete<SkDOMParser> fParser; | 93 SkAutoTDelete<SkDOMParser> fParser; |
94 | 94 |
95 friend class AttrIter; | 95 friend class AttrIter; |
96 friend class SkDOMParser; | 96 friend class SkDOMParser; |
97 }; | 97 }; |
98 | 98 |
99 #endif | 99 #endif |
OLD | NEW |