Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef UI_GFX_HUD_FONT_H_ | |
| 6 #define UI_GFX_HUD_FONT_H_ | |
| 7 | |
| 8 #include "skia/ext/refptr.h" | |
| 9 #include "ui/gfx/gfx_export.h" | |
| 10 | |
| 11 class SkTypeface; | |
| 12 | |
| 13 namespace ui { | |
| 14 | |
| 15 // Takes ownership. | |
| 16 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.
| |
| 17 GFX_EXPORT skia::RefPtr<SkTypeface> GetHudTypeface(); | |
| 18 | |
| 19 } // namespace ui | |
| 20 | |
| 21 #endif // UI_GFX_HUD_FONT_H_ | |
| OLD | NEW |