Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 #ifndef UI_WM_CORE_WINDOW_LIST_PROVIDER_H_ | |
| 2 #define UI_WM_CORE_WINDOW_LIST_PROVIDER_H_ | |
| 3 | |
| 4 #include "ui/aura/window.h" | |
| 5 | |
| 6 namespace wm { | |
| 7 | |
| 8 // Interface for an ordered list of aura::Window objects. | |
| 9 class WindowListProvider { | |
|
oshima
2014/08/06 21:54:10
move this to athena/wm/public.
The plan is that w
sadrul
2014/08/07 15:26:16
ActivityManager would be a good place for this. It
mfomitchev
2014/08/08 16:03:23
I moved the file. Did not add GetInstance() and di
oshima
2014/08/08 16:45:34
They simply shares the same container, but no true
mfomitchev
2014/08/08 17:40:50
Ah, good point.
| |
| 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 wm | |
| 20 | |
| 21 #endif // UI_WM_CORE_WINDOW_LIST_PROVIDER_H_ | |
| OLD | NEW |