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

Unified Diff: ui/gfx/font_fallback_mac.cc

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
Index: ui/gfx/font_fallback_mac.cc
diff --git a/ui/gfx/font_fallback_mac.cc b/ui/gfx/font_fallback_mac.cc
new file mode 100644
index 0000000000000000000000000000000000000000..219ee29ad59aa80b9e9dfc15f758d9596003882d
--- /dev/null
+++ b/ui/gfx/font_fallback_mac.cc
@@ -0,0 +1,14 @@
+// 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.
+
+#include "ui/gfx/font_fallback.h"
+
+namespace gfx {
+
+std::vector<std::string> GetFallbackFontFamilies(std::string font_family) {
msw 2014/06/30 17:35:54 Do we need a stubbed impl for iOS, Android, etc.?
ckocagil 2014/07/04 15:30:15 I'll add stubs as we get compile failures in CQ or
+ NOTIMPLEMENTED();
+ return std::vector<std::string>(1, font_family);
+}
+
+} // namespace gfx

Powered by Google App Engine
This is Rietveld 408576698