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

Unified Diff: cc/layer_tree_host_client.h

Issue 11413123: cc: switch to new WebLayerTreeViewClient API for requesting font atlas (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixing tests Created 8 years, 1 month 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/layer_tree_host_client.h
diff --git a/cc/layer_tree_host_client.h b/cc/layer_tree_host_client.h
index f6cb7028ab18606bdeca5d4e0c38107e6bc453fb..ad2844339e3c735aa1d0a59ae325323719ba6a2c 100644
--- a/cc/layer_tree_host_client.h
+++ b/cc/layer_tree_host_client.h
@@ -16,6 +16,7 @@ class WebCompositorOutputSurface;
}
namespace cc {
+class FontAtlas;
class InputHandler;
class LayerTreeHostClient {
@@ -37,6 +38,9 @@ public:
// Used only in the single-threaded path.
virtual void scheduleComposite() = 0;
+ // Creates a font atlas to use for debug visualizations.
+ virtual scoped_ptr<FontAtlas> createFontAtlas() = 0;
+
protected:
virtual ~LayerTreeHostClient() { }
};

Powered by Google App Engine
This is Rietveld 408576698