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

Unified Diff: ash/common/wm/forwarding_layer_delegate.h

Issue 2383263002: Generalize layer mirroring for phantom windows (Closed)
Patch Set: Rebase 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 | « no previous file | ash/common/wm/forwarding_layer_delegate.cc » ('j') | ui/compositor/layer.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm/forwarding_layer_delegate.h
diff --git a/ash/common/wm/forwarding_layer_delegate.h b/ash/common/wm/forwarding_layer_delegate.h
index 7c68f185a10d658c7b92e6e7f58c15bc8fcb7d9c..023cb53aa8875e3a88bb2f11b632fa6ac0d13188 100644
--- a/ash/common/wm/forwarding_layer_delegate.h
+++ b/ash/common/wm/forwarding_layer_delegate.h
@@ -15,9 +15,6 @@ class Layer;
}
namespace ash {
-
-class WmWindow;
-
namespace wm {
// A layer delegate to paint the content of a recreated layer by delegating
@@ -36,14 +33,13 @@ class ForwardingLayerDelegate : public ui::LayerDelegate,
// ui::LayerObserver:
void DidPaintLayer(ui::Layer* layer, const gfx::Rect& rect) override;
- void SurfaceChanged(ui::Layer* layer) override;
void LayerDestroyed(ui::Layer* layer) override;
private:
// The layer for which |this| is the delegate.
- ui::Layer* client_layer_;
+ ui::Layer* layer_;
- // The layer that was recreated to replace |new_layer_|.
+ // The layer to which paint requests are forwarded.
ui::Layer* original_layer_;
ScopedObserver<ui::Layer, ui::LayerObserver> scoped_observer_;
« no previous file with comments | « no previous file | ash/common/wm/forwarding_layer_delegate.cc » ('j') | ui/compositor/layer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698