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

Unified Diff: cc/trees/layer_tree_host_client.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: i am a plumber 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
Index: cc/trees/layer_tree_host_client.h
diff --git a/cc/trees/layer_tree_host_client.h b/cc/trees/layer_tree_host_client.h
index ac025f2ef7078b8ed8a4def8ae35715ba6f08627..ad4b3a53c2a107a3387f6c06098b2cb69c9da0c5 100644
--- a/cc/trees/layer_tree_host_client.h
+++ b/cc/trees/layer_tree_host_client.h
@@ -9,6 +9,8 @@
#include "base/memory/scoped_ptr.h"
#include "base/time/time.h"
+class SkTypeface;
+
namespace gfx {
class Vector2d;
class Vector2dF;
@@ -62,6 +64,8 @@ class LayerTreeHostClient {
// a TextureLayer that calls SetRateLimitContext(true).
virtual void RateLimitSharedMainThreadContext() {}
+ virtual SkTypeface* GetHudTypeface() = 0;
enne (OOO) 2015/02/05 01:30:28 This is here (vs LayerTreeSettings) so that the fo
scottmg 2015/02/05 03:28:32 LayerTreeSettings seems fine if that's OK w/ you.
enne (OOO) 2015/02/05 17:54:44 Or, said differently, if lazy initialization isn't
+
protected:
virtual ~LayerTreeHostClient() {}
};

Powered by Google App Engine
This is Rietveld 408576698