Index: ui/wm/core/window_list_provider.h |
diff --git a/ui/wm/core/window_list_provider.h b/ui/wm/core/window_list_provider.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d29d7ff4984003fc6debc8c56bdf14644377773d |
--- /dev/null |
+++ b/ui/wm/core/window_list_provider.h |
@@ -0,0 +1,21 @@ |
+#ifndef UI_WM_CORE_WINDOW_LIST_PROVIDER_H_ |
+#define UI_WM_CORE_WINDOW_LIST_PROVIDER_H_ |
+ |
+#include "ui/aura/window.h" |
+ |
+namespace wm { |
+ |
+// Interface for an ordered list of aura::Window objects. |
+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.
|
+ 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 wm |
+ |
+#endif // UI_WM_CORE_WINDOW_LIST_PROVIDER_H_ |