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

Unified Diff: cc/test/layer_tree_test_common.h

Issue 12328118: cc: DelegatedRendererLayer creates a ChildId with the ResourceProvider (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « cc/layer_tree_host_unittest_delegated.cc ('k') | cc/test/layer_tree_test_common.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/layer_tree_test_common.h
diff --git a/cc/test/layer_tree_test_common.h b/cc/test/layer_tree_test_common.h
index b7352bf22e9082bcd5cc1b94e62a9999b742e6a9..82fe12659eb57c08778c55a1ac1bde7df85bd9d7 100644
--- a/cc/test/layer_tree_test_common.h
+++ b/cc/test/layer_tree_test_common.h
@@ -32,6 +32,8 @@ public:
virtual void beginCommitOnThread(LayerTreeHostImpl*) { }
virtual void commitCompleteOnThread(LayerTreeHostImpl*) { }
+ virtual void treeActivatedOnThread(LayerTreeHostImpl*) { }
+ virtual void initializedRendererOnThread(LayerTreeHostImpl*, bool success) { }
virtual bool prepareToDrawOnThread(
LayerTreeHostImpl*, LayerTreeHostImpl::FrameData&, bool result);
virtual void drawLayersOnThread(LayerTreeHostImpl*) { }
@@ -160,7 +162,8 @@ public:
virtual void commitComplete() OVERRIDE;
virtual bool prepareToDraw(FrameData&) OVERRIDE;
virtual void drawLayers(FrameData&) OVERRIDE;
- virtual void activatePendingTreeIfNeeded() OVERRIDE;
+ virtual bool activatePendingTreeIfNeeded() OVERRIDE;
+ virtual bool initializeRenderer(scoped_ptr<OutputSurface> outputSurface) OVERRIDE;
// Make these public.
typedef std::vector<LayerImpl*> LayerList;
« no previous file with comments | « cc/layer_tree_host_unittest_delegated.cc ('k') | cc/test/layer_tree_test_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698