OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2012 Google Inc. | 3 * Copyright 2012 Google Inc. |
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 #include "SkObjectParser.h" | 9 #include "SkObjectParser.h" |
10 #include "SkData.h" | 10 #include "SkData.h" |
11 #include "SkFontDescriptor.h" | 11 #include "SkFontDescriptor.h" |
12 #include "SkPath.h" | |
13 #include "SkRRect.h" | 12 #include "SkRRect.h" |
14 #include "SkShader.h" | 13 #include "SkShader.h" |
15 #include "SkStream.h" | 14 #include "SkStream.h" |
16 #include "SkStringUtils.h" | 15 #include "SkStringUtils.h" |
17 #include "SkTypeface.h" | 16 #include "SkTypeface.h" |
18 #include "SkUtils.h" | 17 #include "SkUtils.h" |
19 | 18 |
20 /* TODO(chudy): Replace all std::strings with char */ | 19 /* TODO(chudy): Replace all std::strings with char */ |
21 | 20 |
22 SkString* SkObjectParser::BitmapToString(const SkBitmap& bitmap) { | 21 SkString* SkObjectParser::BitmapToString(const SkBitmap& bitmap) { |
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
360 } | 359 } |
361 break; | 360 break; |
362 } | 361 } |
363 default: | 362 default: |
364 decodedText->append("Unknown text encoding."); | 363 decodedText->append("Unknown text encoding."); |
365 break; | 364 break; |
366 } | 365 } |
367 | 366 |
368 return decodedText; | 367 return decodedText; |
369 } | 368 } |
OLD | NEW |