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

Unified Diff: ui/compositor/layer_owner.h

Issue 2383263002: Generalize layer mirroring for phantom windows (Closed)
Patch Set: Created 4 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
Index: ui/compositor/layer_owner.h
diff --git a/ui/compositor/layer_owner.h b/ui/compositor/layer_owner.h
index fd0606c442b4a81b57a8e912d26865b2f48fdcfa..dfff20901619df038f2e55789b0438f4714fa7e9 100644
--- a/ui/compositor/layer_owner.h
+++ b/ui/compositor/layer_owner.h
@@ -37,6 +37,9 @@ class COMPOSITOR_EXPORT LayerOwner {
// layer.
virtual std::unique_ptr<Layer> RecreateLayer();
+ // Requests a |mirror| of the owned layer from the LayerOwnerDelegate.
oshima 2016/10/04 21:06:31 how about "Requests to mirror the content of ownin
Dominik Laskowski 2016/10/04 23:18:52 Done.
+ void MirrorLayer(Layer* mirror) const;
+
ui::Layer* layer() { return layer_; }
const ui::Layer* layer() const { return layer_; }

Powered by Google App Engine
This is Rietveld 408576698