OLD | NEW |
(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 // Interface for an ordered list of aura::Window objects. |
| 14 class ATHENA_EXPORT WindowListProvider { |
| 15 public: |
| 16 virtual ~WindowListProvider() {} |
| 17 |
| 18 // Returns an ordered list of windows. |
| 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 }; |
| 24 |
| 25 } // namespace athena |
| 26 |
| 27 #endif // ATHENA_WM_PUBLIC_WINDOW_LIST_PROVIDER_H_ |
OLD | NEW |