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

Side by Side Diff: ui/gfx/font_fallback.h

Issue 971673002: Mac: Implement GetFallbackFontFamilies for Harfbuzz (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@20150129-MacViews-Bringup5-RTHB-in-Label
Patch Set: Move to font_fallback_mac_unittest Created 5 years, 9 months 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 | « ui/gfx/BUILD.gn ('k') | ui/gfx/font_fallback_mac.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 UI_GFX_FONT_FALLBACK_H_ 5 #ifndef UI_GFX_FONT_FALLBACK_H_
6 #define UI_GFX_FONT_FALLBACK_H_ 6 #define UI_GFX_FONT_FALLBACK_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "ui/gfx/gfx_export.h"
12
11 namespace gfx { 13 namespace gfx {
12 14
13 // Given a font family name, returns the names of font families that are 15 // Given a font family name, returns the names of font families that are
14 // suitable for fallback. 16 // suitable for fallback.
15 std::vector<std::string> GetFallbackFontFamilies( 17 GFX_EXPORT std::vector<std::string> GetFallbackFontFamilies(
16 const std::string& font_family); 18 const std::string& font_family);
17 19
18 } // namespace gfx 20 } // namespace gfx
19 21
20 #endif // UI_GFX_FONT_FALLBACK_H_ 22 #endif // UI_GFX_FONT_FALLBACK_H_
OLDNEW
« no previous file with comments | « ui/gfx/BUILD.gn ('k') | ui/gfx/font_fallback_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698