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 #include "SkDump.h" | 10 #include "SkDump.h" |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 SK_MEMBER_PROPERTY(groups, Boolean), | 128 SK_MEMBER_PROPERTY(groups, Boolean), |
129 SK_MEMBER_PROPERTY(name, String), | 129 SK_MEMBER_PROPERTY(name, String), |
130 SK_MEMBER_PROPERTY(posts, Boolean), | 130 SK_MEMBER_PROPERTY(posts, Boolean), |
131 SK_MEMBER_PROPERTY(script, String) | 131 SK_MEMBER_PROPERTY(script, String) |
132 }; | 132 }; |
133 | 133 |
134 #endif | 134 #endif |
135 | 135 |
136 DEFINE_GET_MEMBER(SkDump); | 136 DEFINE_GET_MEMBER(SkDump); |
137 | 137 |
138 bool SkDump::enable(SkAnimateMaker& maker ) { | 138 bool SkDump::enable(SkAnimateMaker&) { |
139 return true; | 139 return true; |
140 } | 140 } |
141 | 141 |
142 bool SkDump::hasEnable() const { | 142 bool SkDump::hasEnable() const { |
143 return true; | 143 return true; |
144 } | 144 } |
145 | 145 |
146 bool SkDump::setProperty(int index, SkScriptValue& ) { | 146 bool SkDump::setProperty(int index, SkScriptValue&) { |
147 return index <= SK_PROPERTY(posts); | 147 return index <= SK_PROPERTY(posts); |
148 } | 148 } |
149 | 149 |
150 #endif | 150 #endif |
OLD | NEW |