Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(203)

Side by Side Diff: include/ports/SkTypeface_mac.h

Issue 1488813002: CMake, include/: changes to make fiddle 2.0 better (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: whitespace change for reed@ Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « include/device/xps/SkXPSDevice.h ('k') | include/ports/SkTypeface_win.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2011 Google Inc. 2 * Copyright 2011 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkTypeface_mac_DEFINED 8 #ifndef SkTypeface_mac_DEFINED
9 #define SkTypeface_mac_DEFINED 9 #define SkTypeface_mac_DEFINED
10 10
11 #include "SkTypeface.h" 11 #include "SkTypeface.h"
12 12
13 #if defined(SK_BUILD_FOR_MAC) || defined(SK_BUILD_FOR_IOS)
14
13 #include <CoreFoundation/CoreFoundation.h> 15 #include <CoreFoundation/CoreFoundation.h>
14 16
15 #ifdef SK_BUILD_FOR_MAC 17 #ifdef SK_BUILD_FOR_MAC
16 #import <ApplicationServices/ApplicationServices.h> 18 #import <ApplicationServices/ApplicationServices.h>
17 #endif 19 #endif
18 20
19 #ifdef SK_BUILD_FOR_IOS 21 #ifdef SK_BUILD_FOR_IOS
20 #include <CoreText/CoreText.h> 22 #include <CoreText/CoreText.h>
21 #endif 23 #endif
22 24
(...skipping 13 matching lines...) Expand all
36 * given SkTypeface. Note that the returned CTFontRef gets 38 * given SkTypeface. Note that the returned CTFontRef gets
37 * released when the source SkTypeface is destroyed. 39 * released when the source SkTypeface is destroyed.
38 * 40 *
39 * This method is deprecated. It may only be used by Blink Mac 41 * This method is deprecated. It may only be used by Blink Mac
40 * legacy code in special cases related to text-shaping 42 * legacy code in special cases related to text-shaping
41 * with AAT fonts, clipboard handling and font fallback. 43 * with AAT fonts, clipboard handling and font fallback.
42 * See https://code.google.com/p/skia/issues/detail?id=3408 44 * See https://code.google.com/p/skia/issues/detail?id=3408
43 */ 45 */
44 SK_API extern CTFontRef SkTypeface_GetCTFontRef(const SkTypeface* face); 46 SK_API extern CTFontRef SkTypeface_GetCTFontRef(const SkTypeface* face);
45 47
46 #endif 48 #endif // defined(SK_BUILD_FOR_MAC) || defined(SK_BUILD_FOR_IOS)
49 #endif // SkTypeface_mac_DEFINED
OLDNEW
« no previous file with comments | « include/device/xps/SkXPSDevice.h ('k') | include/ports/SkTypeface_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698