| OLD | NEW |
| (Empty) |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef ASH_MUS_WINDOW_OBSERVER_H_ | |
| 6 #define ASH_MUS_WINDOW_OBSERVER_H_ | |
| 7 | |
| 8 namespace ash { | |
| 9 namespace mus { | |
| 10 | |
| 11 class RootWindowController; | |
| 12 | |
| 13 class WindowManagerObserver { | |
| 14 public: | |
| 15 // Called when the WindowTreeClient associated with the WindowManager is | |
| 16 // about to be destroyed. | |
| 17 virtual void OnWindowTreeClientDestroyed() {} | |
| 18 | |
| 19 virtual void OnRootWindowControllerAdded(RootWindowController* controller) {} | |
| 20 | |
| 21 protected: | |
| 22 virtual ~WindowManagerObserver() {} | |
| 23 }; | |
| 24 | |
| 25 } // namespace mus | |
| 26 } // namespace ash | |
| 27 | |
| 28 #endif // ASH_MUS_WINDOW_OBSERVER_H_ | |
| OLD | NEW |