Index: athena/wm/public/window_list_provider.h |
diff --git a/athena/wm/public/window_list_provider.h b/athena/wm/public/window_list_provider.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e70a39990d69df2c922beca8b6606dcc3d41a038 |
--- /dev/null |
+++ b/athena/wm/public/window_list_provider.h |
@@ -0,0 +1,23 @@ |
+#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.
|
+#define ATHENA_WM_PUBLIC_WINDOW_LIST_PROVIDER_H_ |
+ |
+#include "athena/athena_export.h" |
+#include "ui/aura/window.h" |
+ |
+namespace athena { |
+ |
+// Interface for an ordered list of aura::Window objects. |
+class ATHENA_EXPORT WindowListProvider { |
+ public: |
+ virtual ~WindowListProvider() {} |
+ |
+ // 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
|
+ virtual aura::Window::Windows GetWindowList() const = 0; |
+ |
+ // Moves the window to the front of the list. |
+ virtual void MoveToFront(aura::Window* window) = 0; |
+}; |
+ |
+} // namespace athena |
+ |
+#endif // ATHENA_WM_PUBLIC_WINDOW_LIST_PROVIDER_H_ |