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

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

Issue 37733003: Make GetRootWindow() return a Window instead of a RootWindow. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 2 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 | « ash/wm/overview/scoped_transform_overview_window.cc ('k') | ash/wm/overview/window_overview.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/overview/window_overview.h
diff --git a/ash/wm/overview/window_overview.h b/ash/wm/overview/window_overview.h
index fed1bc95197874c9c53d284de33b4e352c01a218..3f21dace29f060d780e6d4abd9f3a2cb3bb9f3d7 100644
--- a/ash/wm/overview/window_overview.h
+++ b/ash/wm/overview/window_overview.h
@@ -14,14 +14,10 @@
#include "ui/gfx/rect.h"
namespace aura {
-
class Window;
-class RootWindow;
-
namespace client {
class CursorClient;
}
-
} // namespace aura
namespace ui {
@@ -50,7 +46,7 @@ class WindowOverview : public ui::EventHandler {
// given root window.
WindowOverview(WindowSelector* window_selector,
WindowSelectorItemList* windows,
- aura::RootWindow* single_root_window);
+ aura::Window* single_root_window);
virtual ~WindowOverview();
// Sets the selected window to be the window in position |index|.
@@ -60,7 +56,7 @@ class WindowOverview : public ui::EventHandler {
void OnWindowsChanged();
// Moves the overview to only |root_window|.
- void MoveToSingleRootWindow(aura::RootWindow* root_window);
+ void MoveToSingleRootWindow(aura::Window* root_window);
// ui::EventHandler:
virtual void OnKeyEvent(ui::KeyEvent* event) OVERRIDE;
@@ -82,9 +78,9 @@ class WindowOverview : public ui::EventHandler {
// Position all of the windows based on the current selection mode.
void PositionWindows();
// Position all of the windows from |root_window| on |root_window|.
- void PositionWindowsFromRoot(aura::RootWindow* root_window);
+ void PositionWindowsFromRoot(aura::Window* root_window);
// Position all of the |windows| to fit on the |root_window|.
- void PositionWindowsOnRoot(aura::RootWindow* root_window,
+ void PositionWindowsOnRoot(aura::Window* root_window,
const std::vector<WindowSelectorItem*>& windows);
// Creates the selection widget.
@@ -111,7 +107,7 @@ class WindowOverview : public ui::EventHandler {
// 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::RootWindow* single_root_window_;
+ aura::Window* single_root_window_;
// The time when overview was started.
base::Time overview_start_time_;
« no previous file with comments | « ash/wm/overview/scoped_transform_overview_window.cc ('k') | ash/wm/overview/window_overview.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698