| Index: athena/wm/window_list_provider_impl.h
|
| diff --git a/athena/wm/window_list_provider_impl.h b/athena/wm/window_list_provider_impl.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2a7cb7227f509a955d4b22e0843effdd943bd49d
|
| --- /dev/null
|
| +++ b/athena/wm/window_list_provider_impl.h
|
| @@ -0,0 +1,31 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef ATHENA_WM_WINDOW_LIST_PROVIDER_IMPL_H_
|
| +#define ATHENA_WM_WINDOW_LIST_PROVIDER_IMPL_H_
|
| +
|
| +#include "athena/wm/public/window_list_provider.h"
|
| +
|
| +namespace athena {
|
| +
|
| +// This implementation of the WindowListProviderImpl uses the same order as in
|
| +// the container window's stacking order.
|
| +class ATHENA_EXPORT WindowListProviderImpl : public WindowListProvider {
|
| + public:
|
| + explicit WindowListProviderImpl(aura::Window* container);
|
| + virtual ~WindowListProviderImpl();
|
| +
|
| + private:
|
| + // WindowListProvider:
|
| + virtual aura::Window::Windows GetWindowList() const OVERRIDE;
|
| + virtual void MoveToFront(aura::Window* window) OVERRIDE;
|
| +
|
| + aura::Window* container_;
|
| +
|
| + DISALLOW_COPY_AND_ASSIGN(WindowListProviderImpl);
|
| +};
|
| +
|
| +} // namespace athena
|
| +
|
| +#endif // ATHENA_WM_WINDOW_LIST_PROVIDER_IMPL_H_
|
|
|