Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 #ifndef ATHENA_WM_WINDOW_LIST_PROVIDER_H_ | |
| 2 #define ATHENA_WM_WINDOW_LIST_PROVIDER_H_ | |
| 3 | |
| 4 #include "ui/aura/window.h" | |
| 5 | |
| 6 namespace athena { | |
| 7 | |
| 8 // Interface for an ordered list of aura::Window objects. | |
|
Jun Mukai
2014/08/05 21:13:38
This would be good to share the interface among as
mfomitchev
2014/08/06 18:11:32
Done.
| |
| 9 class WindowListProvider { | |
| 10 public: | |
| 11 virtual ~WindowListProvider() {} | |
| 12 | |
| 13 // Returns an ordered list of windows. | |
| 14 virtual aura::Window::Windows GetWindowList() = 0; | |
| 15 // Moves the window to the front of the list. | |
| 16 virtual void MoveToFront(aura::Window* window) = 0; | |
| 17 }; | |
| 18 | |
| 19 } // namespace athena | |
| 20 | |
| 21 #endif // ATHENA_WM_WINDOW_LIST_PROVIDER_H_ | |
| OLD | NEW |