OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2008 Apple Inc. All rights reserved. |
3 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> | 3 * Copyright (C) 2007 Nicholas Shanks <webkit@nickshanks.com> |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 15 matching lines...) Expand all Loading... |
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
28 */ | 28 */ |
29 | 29 |
30 #include "platform/fonts/FontCache.h" | 30 #include "platform/fonts/FontCache.h" |
31 | 31 |
32 #include "base/trace_event/process_memory_dump.h" | 32 #include "base/trace_event/process_memory_dump.h" |
33 #include "platform/FontFamilyNames.h" | 33 #include "platform/FontFamilyNames.h" |
34 #include "platform/Histogram.h" | 34 #include "platform/Histogram.h" |
35 #include "platform/RuntimeEnabledFeatures.h" | 35 #include "platform/RuntimeEnabledFeatures.h" |
36 #include "platform/WebMemoryAllocatorDump.h" | |
37 #include "platform/WebProcessMemoryDump.h" | |
38 #include "platform/fonts/AcceptLanguagesResolver.h" | 36 #include "platform/fonts/AcceptLanguagesResolver.h" |
39 #include "platform/fonts/AlternateFontFamily.h" | 37 #include "platform/fonts/AlternateFontFamily.h" |
40 #include "platform/fonts/FontCacheClient.h" | 38 #include "platform/fonts/FontCacheClient.h" |
41 #include "platform/fonts/FontCacheKey.h" | 39 #include "platform/fonts/FontCacheKey.h" |
42 #include "platform/fonts/FontDataCache.h" | 40 #include "platform/fonts/FontDataCache.h" |
43 #include "platform/fonts/FontDescription.h" | 41 #include "platform/fonts/FontDescription.h" |
44 #include "platform/fonts/FontPlatformData.h" | 42 #include "platform/fonts/FontPlatformData.h" |
45 #include "platform/fonts/FontSmoothingMode.h" | 43 #include "platform/fonts/FontSmoothingMode.h" |
46 #include "platform/fonts/SimpleFontData.h" | 44 #include "platform/fonts/SimpleFontData.h" |
47 #include "platform/fonts/TextRenderingMode.h" | 45 #include "platform/fonts/TextRenderingMode.h" |
48 #include "platform/fonts/opentype/OpenTypeVerticalData.h" | 46 #include "platform/fonts/opentype/OpenTypeVerticalData.h" |
49 #include "platform/fonts/shaping/ShapeCache.h" | 47 #include "platform/fonts/shaping/ShapeCache.h" |
| 48 #include "platform/web_memory_allocator_dump.h" |
| 49 #include "platform/web_process_memory_dump.h" |
50 #include "public/platform/Platform.h" | 50 #include "public/platform/Platform.h" |
51 #include "wtf/HashMap.h" | 51 #include "wtf/HashMap.h" |
52 #include "wtf/ListHashSet.h" | 52 #include "wtf/ListHashSet.h" |
53 #include "wtf/StdLibExtras.h" | 53 #include "wtf/StdLibExtras.h" |
54 #include "wtf/Vector.h" | 54 #include "wtf/Vector.h" |
55 #include "wtf/text/AtomicStringHash.h" | 55 #include "wtf/text/AtomicStringHash.h" |
56 #include "wtf/text/StringHash.h" | 56 #include "wtf/text/StringHash.h" |
57 | 57 |
58 using namespace WTF; | 58 using namespace WTF; |
59 | 59 |
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
420 case USCRIPT_SIMPLIFIED_HAN: | 420 case USCRIPT_SIMPLIFIED_HAN: |
421 return "zh-Hans"; | 421 return "zh-Hans"; |
422 case USCRIPT_TRADITIONAL_HAN: | 422 case USCRIPT_TRADITIONAL_HAN: |
423 return "zh-Hant"; | 423 return "zh-Hant"; |
424 default: | 424 default: |
425 return locale.ascii(); | 425 return locale.ascii(); |
426 } | 426 } |
427 } | 427 } |
428 | 428 |
429 } // namespace blink | 429 } // namespace blink |
OLD | NEW |