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

Unified Diff: trunk/src/ui/views/widget/desktop_aura/x11_desktop_handler.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/ui/views/widget/desktop_aura/x11_desktop_handler.cc
===================================================================
--- trunk/src/ui/views/widget/desktop_aura/x11_desktop_handler.cc (revision 236092)
+++ trunk/src/ui/views/widget/desktop_aura/x11_desktop_handler.cc (working copy)
@@ -151,13 +151,13 @@
void X11DesktopHandler::OnActiveWindowChanged(::Window xid) {
if (current_window_ == xid)
return;
- DesktopWindowTreeHostX11* old_host =
- views::DesktopWindowTreeHostX11::GetHostForXID(current_window_);
+ DesktopRootWindowHostX11* old_host =
+ views::DesktopRootWindowHostX11::GetHostForXID(current_window_);
if (old_host)
old_host->HandleNativeWidgetActivationChanged(false);
- DesktopWindowTreeHostX11* new_host =
- views::DesktopWindowTreeHostX11::GetHostForXID(xid);
+ DesktopRootWindowHostX11* new_host =
+ views::DesktopRootWindowHostX11::GetHostForXID(xid);
if (new_host)
new_host->HandleNativeWidgetActivationChanged(true);

Powered by Google App Engine
This is Rietveld 408576698