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

Unified Diff: ui/gfx/hud_font.h

Issue 900063002: Fixes for two different HUD issues related to win32k lockdown (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn for real Created 5 years, 10 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
« no previous file with comments | « ui/gfx/gfx.gyp ('k') | ui/gfx/hud_font.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « ui/gfx/gfx.gyp ('k') | ui/gfx/hud_font.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698