OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef SKIA_EXT_SKIA_SANDBOX_SUPPORT_WIN_H_ | 5 #ifndef SKIA_EXT_SKIA_SANDBOX_SUPPORT_WIN_H_ |
6 #define SKIA_EXT_SKIA_SANDBOX_SUPPORT_WIN_H_ | 6 #define SKIA_EXT_SKIA_SANDBOX_SUPPORT_WIN_H_ |
7 | 7 |
8 #include <windows.h> | 8 #include <windows.h> |
9 | 9 |
10 #include "SkPreConfig.h" | 10 #include "SkPreConfig.h" |
11 | 11 |
12 typedef void (*SkiaEnsureTypefaceAccessible)(const LOGFONT& font); | 12 typedef void (*SkiaEnsureTypefaceAccessible)(const LOGFONT& font); |
| 13 typedef void (*SkiaEnsureTypefaceCharactersAccessible) |
| 14 (const LOGFONT& font, const wchar_t* text, unsigned int text_length); |
13 | 15 |
14 SK_API void SetSkiaEnsureTypefaceAccessible(SkiaEnsureTypefaceAccessible func); | 16 SK_API void SetSkiaEnsureTypefaceAccessible(SkiaEnsureTypefaceAccessible func); |
| 17 SK_API void SetSkiaEnsureTypefaceCharactersAccessible( |
| 18 SkiaEnsureTypefaceCharactersAccessible func); |
15 | 19 |
16 #endif // SKIA_EXT_SKIA_SANDBOX_SUPPORT_WIN_H_ | 20 #endif // SKIA_EXT_SKIA_SANDBOX_SUPPORT_WIN_H_ |
OLD | NEW |