Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2560)

Unified Diff: athena/wm/public/window_list_provider.h

Issue 420603011: Split Screen mode implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@split_view
Patch Set: Addressing review feedback + Rebase. Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..eb4b50e823ea33ea0ffcfce9d64a6c123d9049e0
--- /dev/null
+++ b/athena/wm/public/window_list_provider.h
@@ -0,0 +1,25 @@
+#ifndef ATHENA_WM_PUBLIC_WINDOW_LIST_PROVIDER_H_
+#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:
+ static WindowListProvider* Create();
+ static WindowListProvider* GetInstance();
oshima 2014/08/08 16:45:34 remove them?
mfomitchev 2014/08/08 17:40:50 Oops
+
+ virtual ~WindowListProvider() {}
+
+ // Returns an ordered list of windows.
+ virtual aura::Window::Windows GetWindowList() const = 0;
+ // Moves the window to the front of the list.
oshima 2014/08/08 16:45:34 new line before the comment
mfomitchev 2014/08/08 17:40:51 Done.
+ virtual void MoveToFront(aura::Window* window) = 0;
+};
+
+} // namespace wm
+
+#endif // ATHENA_WM_PUBLIC_WINDOW_LIST_PROVIDER_H_

Powered by Google App Engine
This is Rietveld 408576698