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_SHELF_LAYOUT_MANAGER_DELEGATE_H_ | 5 #ifndef ASH_MUS_SHELF_LAYOUT_MANAGER_DELEGATE_H_ |
6 #define MASH_WM_SHELF_LAYOUT_MANAGER_DELEGATE_H_ | 6 #define ASH_MUS_SHELF_LAYOUT_MANAGER_DELEGATE_H_ |
7 | 7 |
8 namespace mash { | 8 namespace ash { |
9 namespace wm { | 9 namespace mus { |
10 | 10 |
11 class ShelfLayoutManagerDelegate { | 11 class ShelfLayoutManagerDelegate { |
12 public: | 12 public: |
13 // Called when the window associated with the shelf is available. That is, | 13 // Called when the window associated with the shelf is available. That is, |
14 // ShelfLayoutManager::GetShelfWindow() returns non-null. | 14 // ShelfLayoutManager::GetShelfWindow() returns non-null. |
15 virtual void OnShelfWindowAvailable() = 0; | 15 virtual void OnShelfWindowAvailable() = 0; |
16 | 16 |
17 protected: | 17 protected: |
18 virtual ~ShelfLayoutManagerDelegate() {} | 18 virtual ~ShelfLayoutManagerDelegate() {} |
19 }; | 19 }; |
20 | 20 |
21 } // namespace wm | 21 } // namespace mus |
22 } // namespace mash | 22 } // namespace ash |
23 | 23 |
24 #endif // MASH_WM_SHELF_LAYOUT_MANAGER_DELEGATE_H_ | 24 #endif // ASH_MUS_SHELF_LAYOUT_MANAGER_DELEGATE_H_ |
OLD | NEW |