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

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

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.cc
===================================================================
--- trunk/src/chrome/browser/ui/aura/active_desktop_monitor.cc (revision 236090)
+++ trunk/src/chrome/browser/ui/aura/active_desktop_monitor.cc (working copy)
@@ -39,14 +39,14 @@
// static
bool ActiveDesktopMonitor::IsDesktopWindow(aura::RootWindow* root_window) {
- // Only windows hosted by a DesktopWindowTreeHost implementation can be mapped
+ // Only windows hosted by a DesktopRootWindowHost implementation can be mapped
// back to a content Window. All others, therefore, must be the root window
// for an Ash display.
#if defined(OS_WIN)
- return views::DesktopWindowTreeHostWin::GetContentWindowForHWND(
+ return views::DesktopRootWindowHostWin::GetContentWindowForHWND(
root_window->host()->GetAcceleratedWidget()) != NULL;
#elif defined(USE_X11)
- return views::DesktopWindowTreeHostX11::GetContentWindowForXID(
+ return views::DesktopRootWindowHostX11::GetContentWindowForXID(
root_window->host()->GetAcceleratedWidget()) != NULL;
#else
NOTREACHED();

Powered by Google App Engine
This is Rietveld 408576698