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

Side by Side Diff: src/ports/SkFontMgr_android_parser.h

Issue 1207893002: Clean up a few includes, introduce iwyu. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Postpone stdlib cleanup. 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
OLDNEW
1 /* 1 /*
2 * Copyright 2011 The Android Open Source Project 2 * Copyright 2011 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 SkFontMgr_android_parser_DEFINED 8 #ifndef SkFontMgr_android_parser_DEFINED
9 #define SkFontMgr_android_parser_DEFINED 9 #define SkFontMgr_android_parser_DEFINED
10 10
11 #include "SkFixed.h"
11 #include "SkString.h" 12 #include "SkString.h"
13 #include "SkTArray.h"
12 #include "SkTDArray.h" 14 #include "SkTDArray.h"
15 #include "SkTypes.h"
13 16
14 #include <climits> 17 #include <climits>
15 #include <limits> 18 #include <limits>
19 #include <cstddef>
mtklein 2015/07/28 22:04:19 Can we get this from SkTypes?
bungeman-skia 2015/07/29 16:46:23 Done.
16 20
17 /** \class SkLanguage 21 /** \class SkLanguage
18 22
19 The SkLanguage class represents a human written language, and is used by 23 The SkLanguage class represents a human written language, and is used by
20 text draw operations to determine which glyph to draw when drawing 24 text draw operations to determine which glyph to draw when drawing
21 characters with variants (ie Han-derived characters). 25 characters with variants (ie Han-derived characters).
22 */ 26 */
23 class SkLanguage { 27 class SkLanguage {
24 public: 28 public:
25 SkLanguage() { } 29 SkLanguage() { }
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 } 210 }
207 if (negate) { 211 if (negate) {
208 n = -n; 212 n = -n;
209 frac = -frac; 213 frac = -frac;
210 } 214 }
211 *value = (n << N) + frac; 215 *value = (n << N) + frac;
212 return true; 216 return true;
213 } 217 }
214 218
215 #endif /* SkFontMgr_android_parser_DEFINED */ 219 #endif /* SkFontMgr_android_parser_DEFINED */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698