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

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

Issue 77203002: Revert 236048 "Rename RootWindowHost* to WindowTreeHost*" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 1 month 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: trunk/src/chrome/browser/ui/aura/active_desktop_monitor.h
===================================================================
--- trunk/src/chrome/browser/ui/aura/active_desktop_monitor.h (revision 236090)
+++ trunk/src/chrome/browser/ui/aura/active_desktop_monitor.h (working copy)
@@ -11,7 +11,7 @@
#include "ui/aura/env_observer.h"
// Tracks the most-recently activated host desktop type by observing
-// WindowTreeHost activations.
+// RootWindowHost activations.
class ActiveDesktopMonitor : public aura::EnvObserver {
public:
// Constructs an ActiveDesktopMonitor which initially uses |initial_desktop|
@@ -20,13 +20,13 @@
virtual ~ActiveDesktopMonitor();
// Returns the host desktop type of the most-recently activated
- // WindowTreeHost. This desktop type may no longer exist (e.g., the Ash
+ // RootWindowHost. 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 DesktopWindowTreeHost.
+ // Returns true if |root_window| is hosted by a DesktopRootWindowHost.
static bool IsDesktopWindow(aura::RootWindow* root_window);
// aura::EnvObserver methods.

Powered by Google App Engine
This is Rietveld 408576698