Index: ui/gfx/hud_font.h |
diff --git a/ui/gfx/hud_font.h b/ui/gfx/hud_font.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..fb97761774ea9b40aa7b4f52a4fe40437314fed3 |
--- /dev/null |
+++ b/ui/gfx/hud_font.h |
@@ -0,0 +1,21 @@ |
+// Copyright 2015 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_HUD_FONT_H_ |
+#define UI_GFX_HUD_FONT_H_ |
+ |
+#include "skia/ext/refptr.h" |
+#include "ui/gfx/gfx_export.h" |
+ |
+class SkTypeface; |
+ |
+namespace ui { |
+ |
+// Takes ownership. |
+GFX_EXPORT void SetHudTypeface(SkTypeface* typeface); |
danakj
2015/02/05 21:40:42
Can you use skia::RefPtr instead of a raw pointer
scottmg
2015/02/05 22:50:42
Done.
|
+GFX_EXPORT skia::RefPtr<SkTypeface> GetHudTypeface(); |
+ |
+} // namespace ui |
+ |
+#endif // UI_GFX_HUD_FONT_H_ |