| Index: chrome/browser/ui/aura/active_desktop_monitor.h
|
| diff --git a/chrome/browser/ui/aura/active_desktop_monitor.h b/chrome/browser/ui/aura/active_desktop_monitor.h
|
| index 1ae149b369cd9b5db4d06999e5e7909da17ce899..92720166649a79af6c0d331e5ca52739cd5d1fa1 100644
|
| --- a/chrome/browser/ui/aura/active_desktop_monitor.h
|
| +++ b/chrome/browser/ui/aura/active_desktop_monitor.h
|
| @@ -11,7 +11,7 @@
|
| #include "ui/aura/env_observer.h"
|
|
|
| // Tracks the most-recently activated host desktop type by observing
|
| -// RootWindowHost activations.
|
| +// WindowTreeHost activations.
|
| class ActiveDesktopMonitor : public aura::EnvObserver {
|
| public:
|
| // Constructs an ActiveDesktopMonitor which initially uses |initial_desktop|
|
| @@ -20,13 +20,13 @@ class ActiveDesktopMonitor : public aura::EnvObserver {
|
| virtual ~ActiveDesktopMonitor();
|
|
|
| // Returns the host desktop type of the most-recently activated
|
| - // RootWindowHost. This desktop type may no longer exist (e.g., the Ash
|
| + // WindowTreeHost. This desktop type may no longer exist (e.g., the Ash
|
| // desktop may have closed since being active, and no RWHs on the native
|
| // desktop have yet been activated).
|
| static chrome::HostDesktopType GetLastActivatedDesktopType();
|
|
|
| private:
|
| - // Returns true if |root_window| is hosted by a DesktopRootWindowHost.
|
| + // Returns true if |root_window| is hosted by a DesktopWindowTreeHost.
|
| static bool IsDesktopWindow(aura::RootWindow* root_window);
|
|
|
| // aura::EnvObserver methods.
|
|
|