| OLD | NEW |
| (Empty) |
| 1 // Copyright 2014 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 ATHENA_WM_PUBLIC_WINDOW_LIST_PROVIDER_OBSERVER_H_ | |
| 6 #define ATHENA_WM_PUBLIC_WINDOW_LIST_PROVIDER_OBSERVER_H_ | |
| 7 | |
| 8 #include "athena/athena_export.h" | |
| 9 | |
| 10 namespace aura { | |
| 11 class Window; | |
| 12 } | |
| 13 | |
| 14 namespace athena { | |
| 15 | |
| 16 // An observer to window list changes like e.g. stacking order has changed. | |
| 17 class ATHENA_EXPORT WindowListProviderObserver { | |
| 18 public: | |
| 19 virtual ~WindowListProviderObserver() {} | |
| 20 | |
| 21 // The Window stacking has changed. | |
| 22 virtual void OnWindowStackingChangedInList() = 0; | |
| 23 | |
| 24 // A valid window has added to the list. | |
| 25 virtual void OnWindowAddedToList(aura::Window* window) = 0; | |
| 26 | |
| 27 // The specified Window has been removed from the list. At the time of | |
| 28 // removal, |removed_window| was at the |index| position in the window list. | |
| 29 virtual void OnWindowRemovedFromList(aura::Window* removed_window, | |
| 30 int index) = 0; | |
| 31 }; | |
| 32 | |
| 33 } // namespace athena | |
| 34 | |
| 35 #endif // ATHENA_WM_PUBLIC_WINDOW_LIST_PROVIDER_OBSERVER_H_ | |
| OLD | NEW |