summaryrefslogtreecommitdiffstats
path: root/ash/shell.h
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-08 20:33:13 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-08 20:33:13 +0000
commitc9390bdfb5727b3c5ecc2ed8f97725c9514ecac8 (patch)
tree56578aea7dcb93045b61f4615210b7b8edacf102 /ash/shell.h
parent9af0b83e7ce94d9e5c61623ab76634f97374c517 (diff)
downloadchromium_src-c9390bdfb5727b3c5ecc2ed8f97725c9514ecac8.zip
chromium_src-c9390bdfb5727b3c5ecc2ed8f97725c9514ecac8.tar.gz
chromium_src-c9390bdfb5727b3c5ecc2ed8f97725c9514ecac8.tar.bz2
Eliminate Shell::RootWindowList in favor of aura::Window::Windows.
This is necessary as part of my plan to rework RootWindow, specifically making it not be a subclass of Window. (It will eventually be renamed WindowEventDispatcher). Code that expected to get the RootWindow interface from this type can still call GetDispatcher() on members of the returned vector of Windows. R=oshima@chromium.org http://crbug.com/308843 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=233787 Review URL: https://codereview.chromium.org/64933002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233970 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shell.h')
-rw-r--r--ash/shell.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ash/shell.h b/ash/shell.h
index fb4dd08c..4df19fc 100644
--- a/ash/shell.h
+++ b/ash/shell.h
@@ -19,6 +19,7 @@
#include "base/memory/weak_ptr.h"
#include "base/observer_list.h"
#include "ui/aura/client/activation_change_observer.h"
+#include "ui/aura/window.h"
#include "ui/base/ui_base_types.h"
#include "ui/events/event_target.h"
#include "ui/gfx/insets.h"
@@ -165,7 +166,6 @@ class ASH_EXPORT Shell
public ui::EventTarget,
public aura::client::ActivationChangeObserver {
public:
- typedef std::vector<aura::RootWindow*> RootWindowList;
typedef std::vector<internal::RootWindowController*> RootWindowControllerList;
enum Direction {
@@ -209,7 +209,7 @@ class ASH_EXPORT Shell
static gfx::Screen* GetScreen();
// Returns all root windows.
- static RootWindowList GetAllRootWindows();
+ static aura::Window::Windows GetAllRootWindows();
static aura::Window* GetContainer(aura::Window* root_window,
int container_id);