| OLD | NEW |
| 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_ |
| OLD | NEW |