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

Side by Side Diff: src/animator/SkMemberInfo.h

Issue 831113002: Cleanup: More override fixes - another round. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 11 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/animator/SkMatrixParts.h ('k') | src/animator/SkPaintPart.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 /* 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 SkMemberInfo_DEFINED 10 #ifndef SkMemberInfo_DEFINED
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 public: \ 176 public: \
177 static const SkMemberInfo fInfo[]; \ 177 static const SkMemberInfo fInfo[]; \
178 static const int fInfoCount; \ 178 static const int fInfoCount; \
179 virtual const SkMemberInfo* getMember(int index) SK_OVERRIDE; \ 179 virtual const SkMemberInfo* getMember(int index) SK_OVERRIDE; \
180 virtual const SkMemberInfo* getMember(const char name[]) SK_OVERRIDE; \ 180 virtual const SkMemberInfo* getMember(const char name[]) SK_OVERRIDE; \
181 virtual SkDisplayTypes getType() const SK_OVERRIDE { return SkType_##_type; } \ 181 virtual SkDisplayTypes getType() const SK_OVERRIDE { return SkType_##_type; } \
182 typedef SkDisplay##_type BASE_CLASS 182 typedef SkDisplay##_type BASE_CLASS
183 183
184 #define DECLARE_EMPTY_MEMBER_INFO(_type) \ 184 #define DECLARE_EMPTY_MEMBER_INFO(_type) \
185 public: \ 185 public: \
186 virtual SkDisplayTypes getType() const { return SkType_##_type; } 186 virtual SkDisplayTypes getType() const SK_OVERRIDE { return SkType_##_type; }
187 187
188 #define DECLARE_EXTRAS_MEMBER_INFO(_type) \ 188 #define DECLARE_EXTRAS_MEMBER_INFO(_type) \
189 public: \ 189 public: \
190 static const SkMemberInfo fInfo[]; \ 190 static const SkMemberInfo fInfo[]; \
191 static const int fInfoCount; \ 191 static const int fInfoCount; \
192 virtual const SkMemberInfo* getMember(int index); \ 192 virtual const SkMemberInfo* getMember(int index) SK_OVERRIDE; \
193 virtual const SkMemberInfo* getMember(const char name[]); \ 193 virtual const SkMemberInfo* getMember(const char name[]) SK_OVERRIDE; \
194 SkDisplayTypes fType; \ 194 SkDisplayTypes fType; \
195 virtual SkDisplayTypes getType() const { return fType; } \ 195 virtual SkDisplayTypes getType() const SK_OVERRIDE { return fType; } \
196 typedef _type BASE_CLASS 196 typedef _type BASE_CLASS
197 197
198 #define DECLARE_NO_VIRTUALS_MEMBER_INFO(_type) \ 198 #define DECLARE_NO_VIRTUALS_MEMBER_INFO(_type) \
199 public: \ 199 public: \
200 static const SkMemberInfo fInfo[]; \ 200 static const SkMemberInfo fInfo[]; \
201 static const int fInfoCount; \ 201 static const int fInfoCount; \
202 typedef Sk##_type BASE_CLASS 202 typedef Sk##_type BASE_CLASS
203 203
204 #define DEFINE_GET_MEMBER(_class) \ 204 #define DEFINE_GET_MEMBER(_class) \
205 const SkMemberInfo* _class::getMember(int index) { \ 205 const SkMemberInfo* _class::getMember(int index) { \
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 #define DECLARE_NO_VIRTUALS_MEMBER_INFO(_type) \ 261 #define DECLARE_NO_VIRTUALS_MEMBER_INFO(_type) \
262 public: \ 262 public: \
263 typedef Sk##_type BASE_CLASS 263 typedef Sk##_type BASE_CLASS
264 264
265 #define DEFINE_GET_MEMBER(_class) 265 #define DEFINE_GET_MEMBER(_class)
266 #define DEFINE_NO_VIRTUALS_GET_MEMBER(_class) 266 #define DEFINE_NO_VIRTUALS_GET_MEMBER(_class)
267 267
268 #endif 268 #endif
269 269
270 #endif // SkMemberInfo_DEFINED 270 #endif // SkMemberInfo_DEFINED
OLDNEW
« no previous file with comments | « src/animator/SkMatrixParts.h ('k') | src/animator/SkPaintPart.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698