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

Unified Diff: ui/gfx/font_fallback.h

Issue 331713003: RenderTextHarfBuzz: Implement font fallback for Win and Linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix tests; add placeholder impl for Mac Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/gfx/font_fallback_linux.cc » ('j') | ui/gfx/font_fallback_linux.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/font_fallback.h
diff --git a/ui/gfx/font_fallback.h b/ui/gfx/font_fallback.h
new file mode 100644
index 0000000000000000000000000000000000000000..58f3cf6406df379d921000d6039da172ec4101ce
--- /dev/null
+++ b/ui/gfx/font_fallback.h
@@ -0,0 +1,19 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef UI_GFX_FONT_FALLBACK_H_
+#define UI_GFX_FONT_FALLBACK_H_
+
+#include <string>
+#include <vector>
+
+namespace gfx {
+
+// Given a font family name, returns the names of font families that are
+// suitable for fallback.
+std::vector<std::string> GetFallbackFontFamilies(std::string font_family);
+
+} // namespace gfx
+
+#endif // UI_GFX_FONT_FALLBACK_H_
« no previous file with comments | « no previous file | ui/gfx/font_fallback_linux.cc » ('j') | ui/gfx/font_fallback_linux.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698