| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 #include <mlang.h> | 49 #include <mlang.h> |
| 50 struct IDWriteFactory; | 50 struct IDWriteFactory; |
| 51 #endif | 51 #endif |
| 52 | 52 |
| 53 #if OS(ANDROID) | 53 #if OS(ANDROID) |
| 54 #include <unicode/uscript.h> | 54 #include <unicode/uscript.h> |
| 55 #endif | 55 #endif |
| 56 | 56 |
| 57 class SkTypeface; | 57 class SkTypeface; |
| 58 | 58 |
| 59 namespace WebCore { | 59 namespace blink { |
| 60 | 60 |
| 61 class FontCacheClient; | 61 class FontCacheClient; |
| 62 class FontFaceCreationParams; | 62 class FontFaceCreationParams; |
| 63 class FontPlatformData; | 63 class FontPlatformData; |
| 64 class FontData; | 64 class FontData; |
| 65 class FontDescription; | 65 class FontDescription; |
| 66 class OpenTypeVerticalData; | 66 class OpenTypeVerticalData; |
| 67 class SimpleFontData; | 67 class SimpleFontData; |
| 68 | 68 |
| 69 enum ShouldRetain { Retain, DoNotRetain }; | 69 enum ShouldRetain { Retain, DoNotRetain }; |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 | 177 |
| 178 class PLATFORM_EXPORT FontCachePurgePreventer { | 178 class PLATFORM_EXPORT FontCachePurgePreventer { |
| 179 public: | 179 public: |
| 180 FontCachePurgePreventer() { FontCache::fontCache()->disablePurging(); } | 180 FontCachePurgePreventer() { FontCache::fontCache()->disablePurging(); } |
| 181 ~FontCachePurgePreventer() { FontCache::fontCache()->enablePurging(); } | 181 ~FontCachePurgePreventer() { FontCache::fontCache()->enablePurging(); } |
| 182 }; | 182 }; |
| 183 | 183 |
| 184 } | 184 } |
| 185 | 185 |
| 186 #endif | 186 #endif |
| OLD | NEW |