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 SkViewInflate_DEFINED | 10 #ifndef SkViewInflate_DEFINED |
11 #define SkViewInflate_DEFINED | 11 #define SkViewInflate_DEFINED |
12 | 12 |
13 #include "SkDOM.h" | 13 #include "SkDOM.h" |
14 #include "SkTDict.h" | 14 #include "../private/SkTDict.h" |
15 #include "SkEvent.h" | 15 #include "SkEvent.h" |
16 | 16 |
17 class SkView; | 17 class SkView; |
18 | 18 |
19 class SkViewInflate { | 19 class SkViewInflate { |
20 public: | 20 public: |
21 SkViewInflate(); | 21 SkViewInflate(); |
22 virtual ~SkViewInflate(); | 22 virtual ~SkViewInflate(); |
23 | 23 |
24 /** Return the tree of inflated views. If root is null, create the root elem
ent | 24 /** Return the tree of inflated views. If root is null, create the root elem
ent |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 }; | 62 }; |
63 SkTDArray<IDStr> fListenTo, fBroadcastTo; | 63 SkTDArray<IDStr> fListenTo, fBroadcastTo; |
64 SkChunkAlloc fStrings; | 64 SkChunkAlloc fStrings; |
65 | 65 |
66 void addIDStr(SkTDArray<IDStr>* list, SkView*, const char* str); | 66 void addIDStr(SkTDArray<IDStr>* list, SkView*, const char* str); |
67 | 67 |
68 void rInflate(const SkDOM& dom, const SkDOM::Node* node, SkView* parent); | 68 void rInflate(const SkDOM& dom, const SkDOM::Node* node, SkView* parent); |
69 }; | 69 }; |
70 | 70 |
71 #endif | 71 #endif |
OLD | NEW |