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

Unified Diff: ui/compositor/layer_owner.h

Issue 2458833003: Revert of [M55] Generalize layer mirroring for phantom windows (Closed)
Patch Set: Created 4 years, 2 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/compositor/layer_observer.h ('k') | ui/compositor/layer_owner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/layer_owner.h
diff --git a/ui/compositor/layer_owner.h b/ui/compositor/layer_owner.h
index f711c6a91bcdc8956a756f10ee9af3bba8684b35..fd0606c442b4a81b57a8e912d26865b2f48fdcfa 100644
--- a/ui/compositor/layer_owner.h
+++ b/ui/compositor/layer_owner.h
@@ -20,7 +20,7 @@
LayerOwner();
virtual ~LayerOwner();
- void SetLayer(std::unique_ptr<Layer> layer);
+ void SetLayer(Layer* layer);
// Releases the owning reference to its layer, and returns it.
// This is used when you need to animate the presentation of the owner just
@@ -44,10 +44,10 @@
layer_owner_delegate_ = delegate;
}
- bool OwnsLayer() const;
-
protected:
void DestroyLayer();
+
+ bool OwnsLayer() const;
private:
// The LayerOwner owns its layer unless ownership is relinquished via a call
« no previous file with comments | « ui/compositor/layer_observer.h ('k') | ui/compositor/layer_owner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698