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

Unified Diff: cc/trees/layer_tree_host.h

Issue 242783003: cc: Add testing stubs for proxy test (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 6 years, 7 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.h
diff --git a/cc/trees/layer_tree_host.h b/cc/trees/layer_tree_host.h
index 380cc95f1989d3570060328b6d0b30a01e2569a6..127630aa7865b8eb58569e549194b3348fc41656 100644
--- a/cc/trees/layer_tree_host.h
+++ b/cc/trees/layer_tree_host.h
@@ -304,7 +304,7 @@ class CC_EXPORT LayerTreeHost {
LayerTreeHost(LayerTreeHostClient* client,
SharedBitmapManager* manager,
const LayerTreeSettings& settings);
- void InitializeThreaded(
+ virtual void InitializeThreaded(
brianderson 2014/05/14 21:12:07 Instead of overriding this method, could we re-use
simonhong 2014/05/15 01:32:07 Done.
scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner);
void InitializeSingleThreaded(
LayerTreeHostSingleThreadClient* single_thread_client);
@@ -312,12 +312,11 @@ class CC_EXPORT LayerTreeHost {
void SetOutputSurfaceLostForTesting(bool is_lost) {
output_surface_lost_ = is_lost;
}
+ void InitializeProxy(scoped_ptr<Proxy> proxy);
brianderson 2014/05/14 21:12:07 This could stay private. There's an existing Layer
simonhong 2014/05/15 01:32:07 Ah, I didn't find it. Thanks. Restored.
MicroBenchmarkController micro_benchmark_controller_;
private:
- void InitializeProxy(scoped_ptr<Proxy> proxy);
-
void PaintLayerContents(
const RenderSurfaceLayerList& render_surface_layer_list,
ResourceUpdateQueue* queue,

Powered by Google App Engine
This is Rietveld 408576698