OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2008 Apple Computer, Inc. All rights reserved. | 2 * Copyright (C) 2006, 2008 Apple Computer, Inc. All rights reserved. |
3 * Copyright (C) 2007-2008 Torch Mobile, Inc. | 3 * Copyright (C) 2007-2008 Torch Mobile, Inc. |
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 29 matching lines...) Expand all Loading... |
40 #include "wtf/text/WTFString.h" | 40 #include "wtf/text/WTFString.h" |
41 #include "wtf/unicode/Unicode.h" | 41 #include "wtf/unicode/Unicode.h" |
42 | 42 |
43 #if OS(WIN) | 43 #if OS(WIN) |
44 #include "SkFontMgr.h" | 44 #include "SkFontMgr.h" |
45 #include <windows.h> | 45 #include <windows.h> |
46 #include <objidl.h> | 46 #include <objidl.h> |
47 #include <mlang.h> | 47 #include <mlang.h> |
48 #endif | 48 #endif |
49 | 49 |
| 50 #if OS(ANDROID) |
| 51 #include <unicode/uscript.h> |
| 52 #endif |
| 53 |
50 class SkTypeface; | 54 class SkTypeface; |
51 | 55 |
52 namespace WebCore { | 56 namespace WebCore { |
53 | 57 |
54 class FontCacheClient; | 58 class FontCacheClient; |
55 class FontPlatformData; | 59 class FontPlatformData; |
56 class FontData; | 60 class FontData; |
57 class FontDescription; | 61 class FontDescription; |
58 class OpenTypeVerticalData; | 62 class OpenTypeVerticalData; |
59 class SimpleFontData; | 63 class SimpleFontData; |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 | 162 |
159 class PLATFORM_EXPORT FontCachePurgePreventer { | 163 class PLATFORM_EXPORT FontCachePurgePreventer { |
160 public: | 164 public: |
161 FontCachePurgePreventer() { FontCache::fontCache()->disablePurging(); } | 165 FontCachePurgePreventer() { FontCache::fontCache()->disablePurging(); } |
162 ~FontCachePurgePreventer() { FontCache::fontCache()->enablePurging(); } | 166 ~FontCachePurgePreventer() { FontCache::fontCache()->enablePurging(); } |
163 }; | 167 }; |
164 | 168 |
165 } | 169 } |
166 | 170 |
167 #endif | 171 #endif |
OLD | NEW |