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

Unified Diff: cc/trees/layer_tree_impl.h

Issue 1411663002: cc: Split Proxy to eliminate unnecessary dependencies on the impl side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update perf tests. Created 5 years, 2 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/trees/layer_tree_host_unittest_context.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_impl.h
diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h
index 6d544387ff94b6667ecb4d17b4bf82b98c1d55b7..e642e9baead652a6cdbc083436a949de62115f99 100644
--- a/cc/trees/layer_tree_impl.h
+++ b/cc/trees/layer_tree_impl.h
@@ -44,7 +44,7 @@ class MemoryHistory;
class OutputSurface;
class PageScaleAnimation;
class PictureLayerImpl;
-class Proxy;
+class TaskRunnerProvider;
class ResourceProvider;
class TileManager;
class UIResourceRequest;
@@ -106,7 +106,6 @@ class CC_EXPORT LayerTreeImpl {
bool use_gpu_rasterization() const;
GpuRasterizationStatus GetGpuRasterizationStatus() const;
bool create_low_res_tiling() const;
- BlockingTaskRunner* BlockingMainThreadTaskRunner() const;
bool RequiresHighResToDraw() const;
bool SmoothnessTakesPriority() const;
VideoFrameControllerClient* GetVideoFrameControllerClient() const;
@@ -266,8 +265,8 @@ class CC_EXPORT LayerTreeImpl {
void SetViewportSizeInvalid();
void ResetViewportSizeInvalid();
- // Useful for debug assertions, probably shouldn't be used for anything else.
- Proxy* proxy() const;
+ // Used for accessing the task runner and debug assertions.
+ TaskRunnerProvider* task_runner_provider() const;
// Distribute the root scroll between outer and inner viewport scroll layer.
// The outer viewport scroll layer scrolls first.
« no previous file with comments | « cc/trees/layer_tree_host_unittest_context.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698