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

Side by Side Diff: ui/aura/mus/window_tree_client_observer.h

Issue 2484863005: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Fix another conflict Created 4 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « ui/aura/mus/window_tree_client_delegate.h ('k') | ui/aura/mus/window_tree_host_mus.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_AURA_MUS_WINDOW_TREE_CLIENT_OBSERVER_H_ 5 #ifndef UI_AURA_MUS_WINDOW_TREE_CLIENT_OBSERVER_H_
6 #define UI_AURA_MUS_WINDOW_TREE_CLIENT_OBSERVER_H_ 6 #define UI_AURA_MUS_WINDOW_TREE_CLIENT_OBSERVER_H_
7 7
8 #include "ui/aura/aura_export.h" 8 #include "ui/aura/aura_export.h"
9 9
10 namespace aura { 10 namespace aura {
11 11
12 class Window;
13 class WindowTreeClient; 12 class WindowTreeClient;
14 13
15 class AURA_EXPORT WindowTreeClientObserver { 14 class AURA_EXPORT WindowTreeClientObserver {
16 public: 15 public:
17 // Called early on in the destructor of WindowTreeClient; before any windows 16 // Called early on in the destructor of WindowTreeClient; before any windows
18 // have been destroyed. 17 // have been destroyed.
19 virtual void OnWillDestroyClient(WindowTreeClient* client) {} 18 virtual void OnWillDestroyClient(WindowTreeClient* client) {}
20 19
21 // Called at the end of WindowTreeClient's destructor. At this point 20 // Called at the end of WindowTreeClient's destructor. At this point
22 // observers should drop all references to |client|. 21 // observers should drop all references to |client|.
23 virtual void OnDidDestroyClient(WindowTreeClient* client) {} 22 virtual void OnDidDestroyClient(WindowTreeClient* client) {}
24 23
25 protected: 24 protected:
26 virtual ~WindowTreeClientObserver() {} 25 virtual ~WindowTreeClientObserver() {}
27 }; 26 };
28 27
29 } // namespace aura 28 } // namespace aura
30 29
31 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_OBSERVER_H_ 30 #endif // UI_AURA_MUS_WINDOW_TREE_CLIENT_OBSERVER_H_
OLDNEW
« no previous file with comments | « ui/aura/mus/window_tree_client_delegate.h ('k') | ui/aura/mus/window_tree_host_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698