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

Unified Diff: cc/layer_tree_impl.cc

Issue 11529003: [cc] Route LayerImpl::layerTreeHostImpl() calls through LayerTreeImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years 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_impl.h ('k') | cc/layer_tree_settings.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_tree_impl.cc
diff --git a/cc/layer_tree_impl.cc b/cc/layer_tree_impl.cc
index f815d6ab5c549132b100effc1c578cb958e4d350..d434bb0e6a2a4f78f1706fa3740720224f8bc1d0 100644
--- a/cc/layer_tree_impl.cc
+++ b/cc/layer_tree_impl.cc
@@ -68,4 +68,57 @@ void LayerTreeImpl::ClearCurrentlyScrollingLayer() {
scrolling_layer_id_from_previous_tree_ = 0;
}
+const LayerTreeSettings& LayerTreeImpl::settings() const {
+ return layer_tree_host_impl_->settings();
+}
+
+OutputSurface* LayerTreeImpl::output_surface() const {
+ return layer_tree_host_impl_->outputSurface();
+}
+
+ResourceProvider* LayerTreeImpl::resource_provider() const {
+ return layer_tree_host_impl_->resourceProvider();
+}
+
+TileManager* LayerTreeImpl::tile_manager() const {
+ return layer_tree_host_impl_->tileManager();
+}
+
+FrameRateCounter* LayerTreeImpl::frame_rate_counter() const {
+ return layer_tree_host_impl_->fpsCounter();
+}
+
+void LayerTreeImpl::SetNeedsRedraw() {
+ layer_tree_host_impl_->setNeedsRedraw();
+}
+
+void LayerTreeImpl::SetNeedsUpdateDrawProperties() {
+ layer_tree_host_impl_->setNeedsUpdateDrawProperties();
+}
+
+const LayerTreeDebugState& LayerTreeImpl::debug_state() const {
+ return layer_tree_host_impl_->debugState();
+}
+
+float LayerTreeImpl::device_scale_factor() const {
+ return layer_tree_host_impl_->deviceScaleFactor();
+}
+
+const gfx::Size& LayerTreeImpl::device_viewport_size() const {
+ return layer_tree_host_impl_->deviceViewportSize();
+}
+
+const gfx::Size& LayerTreeImpl::layout_viewport_size() const {
+ return layer_tree_host_impl_->layoutViewportSize();
+}
+
+std::string LayerTreeImpl::layer_tree_as_text() const {
+ return layer_tree_host_impl_->layerTreeAsText();
+}
+
+DebugRectHistory* LayerTreeImpl::debug_rect_history() const {
+ return layer_tree_host_impl_->debugRectHistory();
+}
+
+
} // namespace cc
« no previous file with comments | « cc/layer_tree_impl.h ('k') | cc/layer_tree_settings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698