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

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

Issue 2696573003: Have WindowTreeClient detect error state earlier (Closed)
Patch Set: Fix test exposed by new check Created 3 years, 10 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/aura/mus/window_tree_client.cc ('k') | ui/views/controls/native/native_view_host_aura_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/mus/window_tree_client_observer.h
diff --git a/ui/aura/mus/window_tree_client_observer.h b/ui/aura/mus/window_tree_client_observer.h
index 7d108059eb78eea00c8bbdfa50bb8f159edfd347..7410549a66ffb8dfc07bbcfefd0ae649ccb6ffdb 100644
--- a/ui/aura/mus/window_tree_client_observer.h
+++ b/ui/aura/mus/window_tree_client_observer.h
@@ -13,14 +13,9 @@ class WindowTreeClient;
class AURA_EXPORT WindowTreeClientObserver {
public:
- // Called early on in the destructor of WindowTreeClient; before any windows
- // have been destroyed.
+ // Called early on in the destructor of WindowTreeClient.
virtual void OnWillDestroyClient(WindowTreeClient* client) {}
- // Called at the end of WindowTreeClient's destructor. At this point
- // observers should drop all references to |client|.
- virtual void OnDidDestroyClient(WindowTreeClient* client) {}
-
protected:
virtual ~WindowTreeClientObserver() {}
};
« no previous file with comments | « ui/aura/mus/window_tree_client.cc ('k') | ui/views/controls/native/native_view_host_aura_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698