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

Unified Diff: ui/compositor/layer_observer.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 | « ui/compositor/layer.cc ('k') | ui/compositor/layer_owner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/layer_observer.h
diff --git a/ui/compositor/layer_observer.h b/ui/compositor/layer_observer.h
index e1a7ee5f2fe3bb41e0aaf2af64db3d7e2caba714..fa3480bdabfbb0f9ff7f63f87a198d9484702bfa 100644
--- a/ui/compositor/layer_observer.h
+++ b/ui/compositor/layer_observer.h
@@ -11,10 +11,10 @@ namespace ui {
class Layer;
+// TODO(domlaskowski): This is only used for layer mirroring, so it should be
+// removed and replaced by a private equivalent in the Layer class.
class COMPOSITOR_EXPORT LayerObserver {
public:
- virtual void DidPaintLayer(Layer* layer, const gfx::Rect& region) {}
- virtual void SurfaceChanged(Layer* layer) {}
virtual void LayerDestroyed(Layer* layer) {}
protected:
« no previous file with comments | « ui/compositor/layer.cc ('k') | ui/compositor/layer_owner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698