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

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

Issue 574113004: [Athena] Fix switching activities by swiping from the right bezel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@athena_split
Patch Set: Created 6 years, 3 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/bezel_controller.cc ('k') | athena/wm/split_view_controller.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ATHENA_WM_PUBLIC_WINDOW_LIST_PROVIDER_H_ 5 #ifndef ATHENA_WM_PUBLIC_WINDOW_LIST_PROVIDER_H_
6 #define ATHENA_WM_PUBLIC_WINDOW_LIST_PROVIDER_H_ 6 #define ATHENA_WM_PUBLIC_WINDOW_LIST_PROVIDER_H_
7 7
8 #include "athena/athena_export.h" 8 #include "athena/athena_export.h"
9 #include "ui/aura/window.h" 9 #include "ui/aura/window.h"
10 10
(...skipping 15 matching lines...) Expand all
26 // Returns an ordered list of the current window configuration. 26 // Returns an ordered list of the current window configuration.
27 virtual const aura::Window::Windows& GetWindowList() const = 0; 27 virtual const aura::Window::Windows& GetWindowList() const = 0;
28 28
29 // Returns true if the |window| is part of the list. 29 // Returns true if the |window| is part of the list.
30 virtual bool IsWindowInList(aura::Window* window) const = 0; 30 virtual bool IsWindowInList(aura::Window* window) const = 0;
31 31
32 // Returns true if the given window is a window which can be handled by the 32 // Returns true if the given window is a window which can be handled by the
33 // WindowListProvider. 33 // WindowListProvider.
34 virtual bool IsValidWindow(aura::Window* window) const = 0; 34 virtual bool IsValidWindow(aura::Window* window) const = 0;
35 35
36 // Moves a given |window| to the front of all windows of the window list.
37 // Note: The window has to be in the list already.
38 virtual void MoveToFront(aura::Window* window) = 0;
39
40 // Stacks a given |window| in direct front of a |reference_window|. 36 // Stacks a given |window| in direct front of a |reference_window|.
41 // Note: The |window| and |reference_window| has to be in the list already. 37 // Note: The |window| and |reference_window| has to be in the list already.
42 virtual void StackWindowFrontOf(aura::Window* window, 38 virtual void StackWindowFrontOf(aura::Window* window,
43 aura::Window* reference_window) = 0; 39 aura::Window* reference_window) = 0;
44 40
45 // Stacks a given |window| directly behind a |reference_window|. 41 // Stacks a given |window| directly behind a |reference_window|.
46 // Note: The |window| and |reference_window| has to be in the list already. 42 // Note: The |window| and |reference_window| has to be in the list already.
47 virtual void StackWindowBehindTo(aura::Window* window, 43 virtual void StackWindowBehindTo(aura::Window* window,
48 aura::Window* reference_window) = 0; 44 aura::Window* reference_window) = 0;
49 }; 45 };
50 46
51 } // namespace athena 47 } // namespace athena
52 48
53 #endif // ATHENA_WM_PUBLIC_WINDOW_LIST_PROVIDER_H_ 49 #endif // ATHENA_WM_PUBLIC_WINDOW_LIST_PROVIDER_H_
OLDNEW
« no previous file with comments | « athena/wm/bezel_controller.cc ('k') | athena/wm/split_view_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698