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

Side by Side Diff: athena/wm/public/window_list_provider.h

Issue 863033002: Delete athena/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 unified diff | Download patch
« no previous file with comments | « athena/wm/public/DEPS ('k') | athena/wm/public/window_list_provider_observer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef ATHENA_WM_PUBLIC_WINDOW_LIST_PROVIDER_H_
6 #define ATHENA_WM_PUBLIC_WINDOW_LIST_PROVIDER_H_
7
8 #include "athena/athena_export.h"
9 #include "ui/aura/window.h"
10
11 namespace athena {
12
13 class WindowListProviderObserver;
14
15 // Interface for an ordered list of aura::Window objects.
16 // Note that lists returned by GetCurrentWindowList() will not change if any of
17 // the other member functions will be called later.
18 class ATHENA_EXPORT WindowListProvider {
19 public:
20 virtual ~WindowListProvider() {}
21
22 // Adding/removing an observer to status changes.
23 virtual void AddObserver(WindowListProviderObserver* observer) = 0;
24 virtual void RemoveObserver(WindowListProviderObserver* observer) = 0;
25
26 // Returns an ordered list of the current window configuration.
27 virtual const aura::Window::Windows& GetWindowList() const = 0;
28
29 // Returns true if the |window| is part of the list.
30 virtual bool IsWindowInList(aura::Window* window) const = 0;
31
32 // Stacks a given |window| in direct front of a |reference_window|.
33 // Note: The |window| and |reference_window| has to be in the list already.
34 virtual void StackWindowFrontOf(aura::Window* window,
35 aura::Window* reference_window) = 0;
36
37 // Stacks a given |window| directly behind a |reference_window|.
38 // Note: The |window| and |reference_window| has to be in the list already.
39 virtual void StackWindowBehindTo(aura::Window* window,
40 aura::Window* reference_window) = 0;
41 };
42
43 } // namespace athena
44
45 #endif // ATHENA_WM_PUBLIC_WINDOW_LIST_PROVIDER_H_
OLDNEW
« no previous file with comments | « athena/wm/public/DEPS ('k') | athena/wm/public/window_list_provider_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698