Index: ui/gfx/font_names_testing.cc |
diff --git a/ui/gfx/font_names_testing.cc b/ui/gfx/font_names_testing.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..941852a330a7eec797c19add209c2e7c8dcf9683 |
--- /dev/null |
+++ b/ui/gfx/font_names_testing.cc |
@@ -0,0 +1,25 @@ |
+// Copyright 2016 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_names_testing.h" |
+ |
+#include "build/build_config.h" |
+ |
+namespace gfx { |
+ |
+#if defined(OS_LINUX) |
+const char kSymbolFontName[] = "DejaVu Sans"; |
jungshik at Google
2016/09/16 19:34:55
Will this test ever be run on an actual Chrome OS
drott
2016/09/20 07:37:39
It would be much better to have access to Noto ind
|
+#else |
+const char kSymbolFontName[] = "Symbol"; |
+#endif |
+ |
+#if defined(OS_LINUX) |
+const char kCJKFontName[] = "Kochi Mincho"; |
+#elif defined(OS_MACOSX) |
+const char kCJKFontName[] = "Heiti SC"; |
+#else |
+const char kCJKFontName[] = "SimSun"; |
+#endif |
+ |
+} // namespace gfx |