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

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

Issue 470083004: athena: A simpler implementation of WindowListProvider. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « athena/wm/mru_window_tracker.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
11 namespace athena { 11 namespace athena {
12 12
13 // Interface for an ordered list of aura::Window objects. 13 // Interface for an ordered list of aura::Window objects.
14 class ATHENA_EXPORT WindowListProvider { 14 class ATHENA_EXPORT WindowListProvider {
15 public: 15 public:
16 virtual ~WindowListProvider() {} 16 virtual ~WindowListProvider() {}
17 17
18 // Returns an ordered list of windows. 18 // Returns an ordered list of windows.
19 virtual aura::Window::Windows GetWindowList() const = 0; 19 virtual aura::Window::Windows GetWindowList() const = 0;
20
21 // Moves the window to the front of the list.
22 virtual void MoveToFront(aura::Window* window) = 0;
23 }; 20 };
24 21
25 } // namespace athena 22 } // namespace athena
26 23
27 #endif // ATHENA_WM_PUBLIC_WINDOW_LIST_PROVIDER_H_ 24 #endif // ATHENA_WM_PUBLIC_WINDOW_LIST_PROVIDER_H_
OLDNEW
« no previous file with comments | « athena/wm/mru_window_tracker.cc ('k') | athena/wm/split_view_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698