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

Unified Diff: chrome/browser/ui/aura/active_desktop_monitor.h

Issue 126513004: Rename RootWindowHost to WindowTreeHost (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 11 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: 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.
« no previous file with comments | « chrome/browser/ui/ash/launcher/chrome_launcher_controller_win.cc ('k') | chrome/browser/ui/aura/active_desktop_monitor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698