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

Unified Diff: athena/wm/mru_window_tracker.h

Issue 451363002: Revert of Split Screen mode implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@split_view
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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « athena/wm/bezel_controller.cc ('k') | athena/wm/mru_window_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/wm/mru_window_tracker.h
diff --git a/athena/wm/mru_window_tracker.h b/athena/wm/mru_window_tracker.h
deleted file mode 100644
index 0ec9d98516c009a58998b520bbafe4ee8bc1ab7f..0000000000000000000000000000000000000000
--- a/athena/wm/mru_window_tracker.h
+++ /dev/null
@@ -1,49 +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_MRU_WINDOW_TRACKER_H_
-#define ATHENA_WM_MRU_WINDOW_TRACKER_H_
-
-#include <list>
-
-#include "athena/wm/public/window_list_provider.h"
-#include "ui/aura/window_observer.h"
-
-namespace aura {
-class Window;
-}
-
-namespace athena {
-
-// Maintains a most recently used list of windows. This is used for window
-// cycling and overview mode.
-class MruWindowTracker : public WindowListProvider,
- public aura::WindowObserver {
- public:
- explicit MruWindowTracker(aura::Window* container);
- virtual ~MruWindowTracker();
-
- // Overridden from WindowListProvider
- virtual aura::Window::Windows GetWindowList() const OVERRIDE;
-
- // Updates the mru_windows_ list to move |window| to the front.
- // |window| must be the child of |container_|.
- virtual void MoveToFront(aura::Window* window) OVERRIDE;
-
- private:
- // Overridden from WindowObserver:
- virtual void OnWillRemoveWindow(aura::Window* window) OVERRIDE;
- virtual void OnWindowAdded(aura::Window* new_window) OVERRIDE;
-
- // List of windows that have been used in the container, sorted by most
- // recently used.
- std::list<aura::Window*> mru_windows_;
- aura::Window* container_;
-
- DISALLOW_COPY_AND_ASSIGN(MruWindowTracker);
-};
-
-} // namespace athena
-
-#endif // ATHENA_WM_MRU_WINDOW_TRACKER_H_
« no previous file with comments | « athena/wm/bezel_controller.cc ('k') | athena/wm/mru_window_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698