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

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

Issue 2448593002: Remove SkAutoTUnref and SkAutoTDelete from public includes. (Closed)
Patch Set: And Vulcan. Created 4 years, 1 month 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/ports/SkFontMgr_indirect.h ('k') | include/private/GrAuditTrail.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_win_DEFINED 8 #ifndef SkTypeface_win_DEFINED
9 #define SkTypeface_win_DEFINED 9 #define SkTypeface_win_DEFINED
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 SK_API SkFontMgr* SkFontMgr_New_DirectWrite(IDWriteFactory* factory, 50 SK_API SkFontMgr* SkFontMgr_New_DirectWrite(IDWriteFactory* factory,
51 IDWriteFontCollection* collection, 51 IDWriteFontCollection* collection,
52 IDWriteFontFallback* fallback); 52 IDWriteFontFallback* fallback);
53 53
54 /** 54 /**
55 * Creates an SkFontMgr which renders using DirectWrite and obtains its data 55 * Creates an SkFontMgr which renders using DirectWrite and obtains its data
56 * from the SkRemotableFontMgr. 56 * from the SkRemotableFontMgr.
57 * 57 *
58 * If DirectWrite could not be initialized, will return NULL. 58 * If DirectWrite could not be initialized, will return NULL.
59 */ 59 */
60 SK_API SkFontMgr* SkFontMgr_New_DirectWriteRenderer(SkRemotableFontMgr*); 60 SK_API SkFontMgr* SkFontMgr_New_DirectWriteRenderer(sk_sp<SkRemotableFontMgr>);
61 61
62 /** 62 /**
63 * Creates an SkRemotableFontMgr backed by DirectWrite using the default 63 * Creates an SkRemotableFontMgr backed by DirectWrite using the default
64 * system font collection in the current locale. 64 * system font collection in the current locale.
65 * 65 *
66 * If DirectWrite could not be initialized, will return NULL. 66 * If DirectWrite could not be initialized, will return NULL.
67 */ 67 */
68 SK_API SkRemotableFontMgr* SkRemotableFontMgr_New_DirectWrite(); 68 SK_API SkRemotableFontMgr* SkRemotableFontMgr_New_DirectWrite();
69 69
70 #endif // SK_BUILD_FOR_WIN 70 #endif // SK_BUILD_FOR_WIN
71 #endif // SkTypeface_win_DEFINED 71 #endif // SkTypeface_win_DEFINED
OLDNEW
« no previous file with comments | « include/ports/SkFontMgr_indirect.h ('k') | include/private/GrAuditTrail.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698