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

Unified Diff: ui/compositor/layer.h

Issue 547283003: [Ash] Copy alpha_shape when recreating layers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 | « no previous file | ui/compositor/layer.cc » ('j') | ui/compositor/layer.cc » ('J')
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 0ff6a9611eab1390323d12dd2ec658168a4c7a9f..aef870e066ba031efd0258089953a0adcf4ea995 100644
--- a/ui/compositor/layer.h
+++ b/ui/compositor/layer.h
@@ -203,6 +203,7 @@ class COMPOSITOR_EXPORT Layer
void SetBackgroundZoom(float zoom, int inset);
// Set the shape of this layer.
+ SkRegion* alpha_shape() const;
void SetAlphaShape(scoped_ptr<SkRegion> region);
// Invert the layer.
« no previous file with comments | « no previous file | ui/compositor/layer.cc » ('j') | ui/compositor/layer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698