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

Unified Diff: trunk/src/ui/views/widget/native_widget_aura.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/native_widget_aura.cc
===================================================================
--- trunk/src/ui/views/widget/native_widget_aura.cc (revision 236092)
+++ trunk/src/ui/views/widget/native_widget_aura.cc (working copy)
@@ -674,7 +674,7 @@
ui::NativeTheme* NativeWidgetAura::GetNativeTheme() const {
#if !defined(OS_CHROMEOS)
- return DesktopWindowTreeHost::GetNativeTheme(window_);
+ return DesktopRootWindowHost::GetNativeTheme(window_);
#else
return ui::NativeThemeAura::instance();
#endif
@@ -990,7 +990,7 @@
#if defined(OS_WIN)
BOOL CALLBACK WindowCallbackProc(HWND hwnd, LPARAM lParam) {
aura::Window* root_window =
- DesktopWindowTreeHostWin::GetContentWindowForHWND(hwnd);
+ DesktopRootWindowHostWin::GetContentWindowForHWND(hwnd);
CloseWindow(root_window);
return TRUE;
}
@@ -1005,9 +1005,9 @@
#if defined(USE_X11) && !defined(OS_CHROMEOS)
std::vector<aura::Window*> open_windows =
- DesktopWindowTreeHostX11::GetAllOpenWindows();
+ DesktopRootWindowHostX11::GetAllOpenWindows();
std::for_each(open_windows.begin(), open_windows.end(), CloseWindow);
- DesktopWindowTreeHostX11::CleanUpWindowList();
+ DesktopRootWindowHostX11::CleanUpWindowList();
#endif
}

Powered by Google App Engine
This is Rietveld 408576698