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

Unified Diff: cc/trees/layer_tree_host.h

Issue 2362073002: cc/blimp: Add a LayerTreeHostRemote implementation. (Closed)
Patch Set: win Created 4 years, 3 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 5610ff703430ad2fd8e0630e05e8b64c01de46c8..606e472712fcc6785fb06b43564e9c064f6384e1 100644
--- a/cc/trees/layer_tree_host.h
+++ b/cc/trees/layer_tree_host.h
@@ -54,7 +54,7 @@ class CC_EXPORT LayerTreeHost {
// Returns the UIResourceManager used to create UIResources for
// UIResourceLayers pushed to the LayerTree.
- virtual UIResourceManager* GetUIResourceManager() const = 0;
+ virtual UIResourceManager* GetUIResourceManager() = 0;
danakj 2016/09/30 22:37:13 can stay const?
Khushal 2016/10/01 00:53:48 Done.
// Returns the TaskRunnerProvider used to access the main and compositor
// thread task runners.
@@ -199,6 +199,10 @@ class CC_EXPORT LayerTreeHost {
// The LayerTreeHost tracks whether the content is suitable for Gpu raster.
// Calling this will reset it back to not suitable state.
virtual void ResetGpuRasterizationTracking() = 0;
+
+ protected:
+ // Used to generate a unique identifier for a LayerTreeHost.
+ static int GenerateHostId();
danakj 2016/09/30 22:37:13 Ya, prefer to keep this inside each impl.
Khushal 2016/10/01 00:53:48 Done.
};
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698