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

Unified Diff: ui/compositor/compositor.cc

Issue 675083002: Add cc::RendererSettings for use in with cc::Display (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
« ui/compositor/compositor.h ('K') | « ui/compositor/compositor.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/compositor.cc
diff --git a/ui/compositor/compositor.cc b/ui/compositor/compositor.cc
index c9ad47563b71cf2d2d53fa46a9359edaf3694e43..d559436188e9109c878cfee51ead7046bd57e123 100644
--- a/ui/compositor/compositor.cc
+++ b/ui/compositor/compositor.cc
@@ -431,6 +431,10 @@ void Compositor::SetLayerTreeDebugState(
host_->SetDebugState(debug_state);
}
+const cc::LayerTreeSettings& Compositor::GetLayerTreeSettings() const {
+ return host_->settings();
+}
+
cc::SurfaceSequence Compositor::InsertSurfaceSequenceForNextFrame() {
cc::SurfaceSequence sequence;
sequence.id_namespace = surface_id_allocator_->id_namespace();
« ui/compositor/compositor.h ('K') | « ui/compositor/compositor.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698