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

Unified Diff: ui/compositor/layer.cc

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
« ui/aura/mus/client_surface_embedder.cc ('K') | « ui/compositor/layer.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/layer.cc
diff --git a/ui/compositor/layer.cc b/ui/compositor/layer.cc
index bbbc7af34b51b6efc4b7c6c31bb0dfb8dd26e86a..57fd1ccf340ca04d0b163d3707c027bb14575e46 100644
--- a/ui/compositor/layer.cc
+++ b/ui/compositor/layer.cc
@@ -686,6 +686,12 @@ void Layer::SetFallbackSurface(const cc::SurfaceInfo& surface_info) {
mirror->dest()->SetFallbackSurface(surface_info);
}
+const cc::SurfaceInfo* Layer::GetFallbackSurfaceInfo() const {
+ if (surface_layer_)
+ return &surface_layer_->fallback_surface_info();
+ return nullptr;
+}
+
void Layer::SetShowSolidColorContent() {
DCHECK_EQ(type_, LAYER_SOLID_COLOR);
« ui/aura/mus/client_surface_embedder.cc ('K') | « ui/compositor/layer.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698