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

Side by Side Diff: include/core/SkTypes.h

Issue 1265033002: IWYU: 'core' target, files starting A-C. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rebase (a file was deleted). Created 5 years, 4 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 | « include/core/SkPreConfig.h ('k') | include/private/SkRecords.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 * Copyright 2006 The Android Open Source Project 2 * Copyright 2006 The Android Open Source Project
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 SkTypes_DEFINED 8 #ifndef SkTypes_DEFINED
9 #define SkTypes_DEFINED 9 #define SkTypes_DEFINED
10 10
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 #else 138 #else
139 #define SkDEVCODE(code) 139 #define SkDEVCODE(code)
140 #endif 140 #endif
141 141
142 #ifdef SK_IGNORE_TO_STRING 142 #ifdef SK_IGNORE_TO_STRING
143 #define SK_TO_STRING_NONVIRT() 143 #define SK_TO_STRING_NONVIRT()
144 #define SK_TO_STRING_VIRT() 144 #define SK_TO_STRING_VIRT()
145 #define SK_TO_STRING_PUREVIRT() 145 #define SK_TO_STRING_PUREVIRT()
146 #define SK_TO_STRING_OVERRIDE() 146 #define SK_TO_STRING_OVERRIDE()
147 #else 147 #else
148 class SkString;
148 // the 'toString' helper functions convert Sk* objects to human-readable 149 // the 'toString' helper functions convert Sk* objects to human-readable
149 // form in developer mode 150 // form in developer mode
150 #define SK_TO_STRING_NONVIRT() void toString(SkString* str) const; 151 #define SK_TO_STRING_NONVIRT() void toString(SkString* str) const;
151 #define SK_TO_STRING_VIRT() virtual void toString(SkString* str) const; 152 #define SK_TO_STRING_VIRT() virtual void toString(SkString* str) const;
152 #define SK_TO_STRING_PUREVIRT() virtual void toString(SkString* str) const = 0; 153 #define SK_TO_STRING_PUREVIRT() virtual void toString(SkString* str) const = 0;
153 #define SK_TO_STRING_OVERRIDE() void toString(SkString* str) const override; 154 #define SK_TO_STRING_OVERRIDE() void toString(SkString* str) const override;
154 #endif 155 #endif
155 156
156 template <bool> 157 template <bool>
157 struct SkCompileAssert { 158 struct SkCompileAssert {
(...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after
681 private: 682 private:
682 void* fPtr; 683 void* fPtr;
683 size_t fSize; // can be larger than the requested size (see kReuse) 684 size_t fSize; // can be larger than the requested size (see kReuse)
684 uint32_t fStorage[(kSize + 3) >> 2]; 685 uint32_t fStorage[(kSize + 3) >> 2];
685 }; 686 };
686 // Can't guard the constructor because it's a template class. 687 // Can't guard the constructor because it's a template class.
687 688
688 #endif /* C++ */ 689 #endif /* C++ */
689 690
690 #endif 691 #endif
OLDNEW
« no previous file with comments | « include/core/SkPreConfig.h ('k') | include/private/SkRecords.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698