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

Unified Diff: ui/compositor/layer.h

Issue 2797263002: Aura-Mus: Implement gutter in the embedder. (Closed)
Patch Set: Addressed sadrul's comments Created 3 years, 8 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 bbb0962ef3416242b09fde04b4143a91a0dea430..a97525d03f1064451efea4386ec45f024d7dd408 100644
--- a/ui/compositor/layer.h
+++ b/ui/compositor/layer.h
@@ -303,6 +303,9 @@ class COMPOSITOR_EXPORT Layer
// display compositor, the fallback surface will be used.
void SetFallbackSurface(const cc::SurfaceInfo& surface_info);
+ // Returns the fallback SurfaceInfo set by SetFallbackSurface.
+ const cc::SurfaceInfo* GetFallbackSurfaceInfo() const;
+
bool has_external_content() {
return texture_layer_.get() || surface_layer_.get();
}

Powered by Google App Engine
This is Rietveld 408576698