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

Unified Diff: ash/wm/overview/window_overview.h

Issue 260883005: Separated alt-tab window cycle from overview mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed nits Created 6 years, 7 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
Index: ash/wm/overview/window_overview.h
diff --git a/ash/wm/overview/window_overview.h b/ash/wm/overview/window_overview.h
index 502e3d921e886dbc3e453750ac7948f3a5966cac..473f0b5a9b32db2506c26cbbdc151dae3e72a9a5 100644
--- a/ash/wm/overview/window_overview.h
+++ b/ash/wm/overview/window_overview.h
@@ -47,8 +47,7 @@ class WindowOverview : public ui::EventHandler,
// If |single_root_window| is not NULL, all windows will be positioned on the
// given root window.
WindowOverview(WindowSelector* window_selector,
- WindowSelectorItemList* windows,
- aura::Window* single_root_window);
+ WindowSelectorItemList* windows);
virtual ~WindowOverview();
// Sets the selected window to be the window in position |index|.
@@ -57,9 +56,6 @@ class WindowOverview : public ui::EventHandler,
// Dispatched when the list of windows has changed.
void OnWindowsChanged();
- // Moves the overview to only |root_window|.
- void MoveToSingleRootWindow(aura::Window* root_window);
-
// ui::EventHandler:
virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE;
virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE;
@@ -87,10 +83,6 @@ class WindowOverview : public ui::EventHandler,
void PositionWindows(bool animate);
// Position all of the windows from |root_window| on |root_window|.
void PositionWindowsFromRoot(aura::Window* root_window, bool animate);
- // Position all of the |windows| to fit on the |root_window|.
- void PositionWindowsOnRoot(aura::Window* root_window,
- const std::vector<WindowSelectorItem*>& windows,
- bool animate);
// Creates the selection widget.
void InitializeSelectionWidget();
@@ -113,11 +105,6 @@ class WindowOverview : public ui::EventHandler,
// selection changes rows and use a different animation.
size_t selection_index_;
- // If NULL, each root window displays an overview of the windows in that
- // display. Otherwise, all windows are in a single overview on
- // |single_root_window_|.
- aura::Window* single_root_window_;
-
// The time when overview was started.
base::Time overview_start_time_;

Powered by Google App Engine
This is Rietveld 408576698