Chromium Code Reviews| 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); |
|
Daniel Erat
2014/07/14 14:58:20
argument should be const std::string&
ckocagil
2014/07/16 23:42:22
Done.
|
| + |
| +} // namespace gfx |
| + |
| +#endif // UI_GFX_FONT_FALLBACK_H_ |