Chromium Code Reviews| Index: athena/wm/window_list_provider.h |
| diff --git a/athena/wm/window_list_provider.h b/athena/wm/window_list_provider.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..39a12119e2e04171d34a73b5a0f219e1a421c1bf |
| --- /dev/null |
| +++ b/athena/wm/window_list_provider.h |
| @@ -0,0 +1,21 @@ |
| +#ifndef ATHENA_WM_WINDOW_LIST_PROVIDER_H_ |
| +#define ATHENA_WM_WINDOW_LIST_PROVIDER_H_ |
| + |
| +#include "ui/aura/window.h" |
| + |
| +namespace athena { |
| + |
| +// 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.
|
| +class WindowListProvider { |
| + public: |
| + virtual ~WindowListProvider() {} |
| + |
| + // Returns an ordered list of windows. |
| + virtual aura::Window::Windows GetWindowList() = 0; |
| + // Moves the window to the front of the list. |
| + virtual void MoveToFront(aura::Window* window) = 0; |
| +}; |
| + |
| +} // namespace athena |
| + |
| +#endif // ATHENA_WM_WINDOW_LIST_PROVIDER_H_ |