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

Unified Diff: services/gfx/compositor/renderer_impl.cc

Issue 1775143004: Mozart: Directly associate the renderer with the view tree. (Closed) Base URL: git@github.com:domokit/mojo.git@moz-1
Patch Set: Created 4 years, 9 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 | « services/gfx/compositor/renderer_impl.h ('k') | services/gfx/compositor/renderer_state.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/gfx/compositor/renderer_impl.cc
diff --git a/services/gfx/compositor/renderer_impl.cc b/services/gfx/compositor/renderer_impl.cc
index 7c730b0c1fe079477905deebad95bd6fb0dee8fe..d01454a4f76a9ca060cf677eae88582f64734c63 100644
--- a/services/gfx/compositor/renderer_impl.cc
+++ b/services/gfx/compositor/renderer_impl.cc
@@ -33,6 +33,10 @@ void RendererImpl::SetRootScene(
viewport.Pass());
}
+void RendererImpl::ResetRootScene() {
+ engine_->ResetRootScene(state_);
+}
+
void RendererImpl::HitTest(mojo::PointPtr point,
const HitTestCallback& callback) {
engine_->HitTest(state_, point.Pass(), callback);
« no previous file with comments | « services/gfx/compositor/renderer_impl.h ('k') | services/gfx/compositor/renderer_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698