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

Unified Diff: ui/compositor/layer.h

Issue 2790673003: Aura-Mus: Enable Surface Synchronization behind flag (Closed)
Patch Set: Addressed Sadrul's comments 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
« no previous file with comments | « ui/aura/mus/window_tree_client_unittest.cc ('k') | ui/compositor/layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/layer.h
diff --git a/ui/compositor/layer.h b/ui/compositor/layer.h
index ac7a176477724fa5f758c299bd15fcd074a67e8d..bbb0962ef3416242b09fde04b4143a91a0dea430 100644
--- a/ui/compositor/layer.h
+++ b/ui/compositor/layer.h
@@ -299,6 +299,10 @@ 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);
+
bool has_external_content() {
return texture_layer_.get() || surface_layer_.get();
}
« no previous file with comments | « ui/aura/mus/window_tree_client_unittest.cc ('k') | ui/compositor/layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698