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

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 sadrul's feedback, adding license header. 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
« no previous file with comments | « athena/wm/mru_window_tracker.cc ('k') | athena/wm/public/window_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..7ffadf4ca0eae2792874f0c5bc75c17d144b10ce
--- /dev/null
+++ b/athena/wm/public/window_list_provider.h
@@ -0,0 +1,27 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#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:
+ virtual ~WindowListProvider() {}
+
+ // Returns an ordered list of windows.
+ 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_
« no previous file with comments | « athena/wm/mru_window_tracker.cc ('k') | athena/wm/public/window_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698