summaryrefslogtreecommitdiffstats
path: root/cc/test/fake_layer_tree_host_client.h
diff options
context:
space:
mode:
authoregraether@chromium.org <egraether@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-01 00:42:41 +0000
committeregraether@chromium.org <egraether@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-01 00:42:41 +0000
commit27664a514b029b131906e4e8b2246f7afb5b34cd (patch)
tree83845269db9094f758c5d02a8c1f33e1878269c7 /cc/test/fake_layer_tree_host_client.h
parent9c52413002109eed3ac64b2ec6c258dd67b2d941 (diff)
downloadchromium_src-27664a514b029b131906e4e8b2246f7afb5b34cd.zip
chromium_src-27664a514b029b131906e4e8b2246f7afb5b34cd.tar.gz
chromium_src-27664a514b029b131906e4e8b2246f7afb5b34cd.tar.bz2
This change switches the compositor to the new WebLayerTreeViewClient::createFontAtlas() API. LayerTreeHost now manages whether a font atlas needs to be loaded.
commit order: https://bugs.webkit.org/show_bug.cgi?id=102958 https://codereview.chromium.org/11413123 https://bugs.webkit.org/show_bug.cgi?id=102960 BUG= Review URL: https://chromiumcodereview.appspot.com/11413123 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170614 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/fake_layer_tree_host_client.h')
-rw-r--r--cc/test/fake_layer_tree_host_client.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cc/test/fake_layer_tree_host_client.h b/cc/test/fake_layer_tree_host_client.h
index 5ca8168..321e926 100644
--- a/cc/test/fake_layer_tree_host_client.h
+++ b/cc/test/fake_layer_tree_host_client.h
@@ -5,6 +5,7 @@
#define CC_TEST_FAKE_LAYER_TREE_HOST_CLIENT_H_
#include "base/memory/scoped_ptr.h"
+#include "cc/font_atlas.h"
#include "cc/input_handler.h"
#include "cc/layer_tree_host.h"
#include "cc/test/compositor_fake_web_graphics_context_3d.h"
@@ -30,6 +31,8 @@ public:
// Used only in the single-threaded path.
virtual void scheduleComposite() OVERRIDE { }
+
+ virtual scoped_ptr<FontAtlas> createFontAtlas() OVERRIDE;
};
}