| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 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 MASH_WM_ROOT_WINDOW_OBSERVERS_H_ | 5 #ifndef ASH_MUS_ROOT_WINDOW_OBSERVERS_H_ |
| 6 #define MASH_WM_ROOT_WINDOW_OBSERVERS_H_ | 6 #define ASH_MUS_ROOT_WINDOW_OBSERVERS_H_ |
| 7 | 7 |
| 8 namespace mash { | 8 namespace ash { |
| 9 namespace wm { | 9 namespace mus { |
| 10 | 10 |
| 11 class RootWindowController; | 11 class RootWindowController; |
| 12 | 12 |
| 13 class RootWindowsObserver { | 13 class RootWindowsObserver { |
| 14 public: | 14 public: |
| 15 // Called once a new display has been created and the root Window obtained. | 15 // Called once a new display has been created and the root Window obtained. |
| 16 virtual void OnRootWindowControllerAdded( | 16 virtual void OnRootWindowControllerAdded( |
| 17 RootWindowController* controller) = 0; | 17 RootWindowController* controller) = 0; |
| 18 | 18 |
| 19 protected: | 19 protected: |
| 20 ~RootWindowsObserver() {} | 20 ~RootWindowsObserver() {} |
| 21 }; | 21 }; |
| 22 | 22 |
| 23 } // namespace wm | 23 } // namespace mus |
| 24 } // namespace mash | 24 } // namespace ash |
| 25 | 25 |
| 26 #endif // MASH_WM_ROOT_WINDOW_OBSERVERS_H_ | 26 #endif // ASH_MUS_ROOT_WINDOW_OBSERVERS_H_ |
| OLD | NEW |