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() { } |
}; |