Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 #ifndef ATHENA_WM_PUBLIC_WINDOW_LIST_PROVIDER_H_ | |
|
oshima
2014/08/09 05:07:03
you need license comment here. Sorry, I missed in
mfomitchev
2014/08/09 18:29:56
Done.
| |
| 2 #define ATHENA_WM_PUBLIC_WINDOW_LIST_PROVIDER_H_ | |
| 3 | |
| 4 #include "athena/athena_export.h" | |
| 5 #include "ui/aura/window.h" | |
| 6 | |
| 7 namespace athena { | |
| 8 | |
| 9 // Interface for an ordered list of aura::Window objects. | |
| 10 class ATHENA_EXPORT WindowListProvider { | |
| 11 public: | |
| 12 virtual ~WindowListProvider() {} | |
| 13 | |
| 14 // Returns an ordered list of windows. | |
|
sadrul
2014/08/09 13:32:40
Please document the ordering here.
mfomitchev
2014/08/09 18:29:56
My thinking was that this is just an interface and
| |
| 15 virtual aura::Window::Windows GetWindowList() const = 0; | |
| 16 | |
| 17 // Moves the window to the front of the list. | |
| 18 virtual void MoveToFront(aura::Window* window) = 0; | |
| 19 }; | |
| 20 | |
| 21 } // namespace athena | |
| 22 | |
| 23 #endif // ATHENA_WM_PUBLIC_WINDOW_LIST_PROVIDER_H_ | |
| OLD | NEW |