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

Unified Diff: ui/compositor/layer.h

Issue 2790673003: Aura-Mus: Enable Surface Synchronization behind flag (Closed)
Patch Set: Added unit test Created 3 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
Index: ui/compositor/layer.h
diff --git a/ui/compositor/layer.h b/ui/compositor/layer.h
index ac7a176477724fa5f758c299bd15fcd074a67e8d..4d417f46a5ae5a87f8c7d4bbffa0ca859b7476a0 100644
--- a/ui/compositor/layer.h
+++ b/ui/compositor/layer.h
@@ -299,6 +299,12 @@ class COMPOSITOR_EXPORT Layer
const cc::SurfaceInfo& surface_info,
scoped_refptr<cc::SurfaceReferenceFactory> surface_ref);
+ // In the event that the primary surface is not yet available in the
+ // display compositor, the fallback surface will be used.
+ void SetFallbackSurface(
+ const cc::SurfaceInfo& surface_info,
+ scoped_refptr<cc::SurfaceReferenceFactory> surface_ref);
+
bool has_external_content() {
return texture_layer_.get() || surface_layer_.get();
}

Powered by Google App Engine
This is Rietveld 408576698