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

Unified Diff: athena/wm/window_list_provider_impl.h

Issue 863033002: Delete athena/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « athena/wm/title_drag_controller.cc ('k') | athena/wm/window_list_provider_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
deleted file mode 100644
index 1531ba486cc523e7eb2d332991a3633a970b7017..0000000000000000000000000000000000000000
--- a/athena/wm/window_list_provider_impl.h
+++ /dev/null
@@ -1,54 +0,0 @@
-// 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"
-#include "base/gtest_prod_util.h"
-#include "ui/aura/window_observer.h"
-
-namespace athena {
-
-class WindowListProviderObserver;
-
-// This implementation of the WindowListProviderImpl uses the same order as in
-// the container window's stacking order.
-class ATHENA_EXPORT WindowListProviderImpl : public WindowListProvider,
- public aura::WindowObserver {
- public:
- explicit WindowListProviderImpl(aura::Window* container);
- ~WindowListProviderImpl() override;
-
- // TODO(oshima): Remove this method. This should live outside.
- bool IsValidWindow(aura::Window* window) const;
-
- // WindowListProvider:
- void AddObserver(WindowListProviderObserver* observer) override;
- void RemoveObserver(WindowListProviderObserver* observer) override;
- const aura::Window::Windows& GetWindowList() const override;
- bool IsWindowInList(aura::Window* window) const override;
- void StackWindowFrontOf(aura::Window* window,
- aura::Window* reference_window) override;
- void StackWindowBehindTo(aura::Window* window,
- aura::Window* reference_window) override;
-
- private:
- void RecreateWindowList();
-
- // aura::WindowObserver:
- void OnWindowAdded(aura::Window* new_window) override;
- void OnWillRemoveWindow(aura::Window* old_window) override;
- void OnWindowStackingChanged(aura::Window* window) override;
-
- aura::Window* container_;
- aura::Window::Windows window_list_;
- ObserverList<WindowListProviderObserver> observers_;
-
- DISALLOW_COPY_AND_ASSIGN(WindowListProviderImpl);
-};
-
-} // namespace athena
-
-#endif // ATHENA_WM_WINDOW_LIST_PROVIDER_IMPL_H_
« no previous file with comments | « athena/wm/title_drag_controller.cc ('k') | athena/wm/window_list_provider_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698