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

Unified Diff: ui/aura/mus/window_mus.h

Issue 2559703003: Converts WindowTreeClientTest to be in terms of aura (Closed)
Patch Set: feedback Created 4 years 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/aura/mus/window_mus.h
diff --git a/ui/aura/mus/window_mus.h b/ui/aura/mus/window_mus.h
index fd294f77c9b2f0bca06d29a4b207f4f6942ed65c..107d11a7149f0954888dc4e71657aa27f8a444ff 100644
--- a/ui/aura/mus/window_mus.h
+++ b/ui/aura/mus/window_mus.h
@@ -100,6 +100,11 @@ class AURA_EXPORT WindowMus {
virtual std::unique_ptr<WindowMusChangeData> PrepareForServerVisibilityChange(
bool value) = 0;
+ // Called when the window on the server has been destroyed and the client code
+ // is going to delete the window. The client may not immediately delete the
+ // window (as compared to DestroyFromServer()).
+ virtual void PrepareForDestroy() = 0;
+
// See TransientWindowClientObserver::OnWillRestackTransientChildAbove() for
// details on this and OnTransientRestackDone().
virtual void PrepareForTransientRestack(WindowMus* window) = 0;

Powered by Google App Engine
This is Rietveld 408576698