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

Unified Diff: ui/views/widget/desktop_aura/desktop_native_widget_aura.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: ui/views/widget/desktop_aura/desktop_native_widget_aura.h
diff --git a/ui/views/widget/desktop_aura/desktop_native_widget_aura.h b/ui/views/widget/desktop_aura/desktop_native_widget_aura.h
index c5ac716ad0920706b5a4ac476edcb81e2e5e1d72..74ef63428d87c2d263f978c1408c178fdfe524f3 100644
--- a/ui/views/widget/desktop_aura/desktop_native_widget_aura.h
+++ b/ui/views/widget/desktop_aura/desktop_native_widget_aura.h
@@ -42,7 +42,7 @@ class DesktopCaptureClient;
class DesktopDispatcherClient;
class DesktopEventClient;
class DesktopNativeCursorManager;
-class DesktopRootWindowHost;
+class DesktopWindowTreeHost;
class DropHelper;
class FocusManagerEventHandler;
class TooltipManagerAura;
@@ -64,13 +64,13 @@ class VIEWS_EXPORT DesktopNativeWidgetAura
// Maps from window to DesktopNativeWidgetAura.
static DesktopNativeWidgetAura* ForWindow(aura::Window* window);
- // Called by our DesktopRootWindowHost after it has deleted native resources;
+ // Called by our DesktopWindowTreeHost after it has deleted native resources;
// this is the signal that we should start our shutdown.
virtual void OnHostClosed();
- // Called from ~DesktopRootWindowHost. This takes the RootWindow as by the
+ // Called from ~DesktopWindowTreeHost. This takes the RootWindow as by the
// time we get here |root_window_| is NULL.
- virtual void OnDesktopRootWindowHostDestroyed(aura::RootWindow* root);
+ virtual void OnDesktopWindowTreeHostDestroyed(aura::RootWindow* root);
corewm::InputMethodEventFilter* input_method_event_filter() {
return input_method_event_filter_.get();
@@ -222,10 +222,10 @@ class VIEWS_EXPORT DesktopNativeWidgetAura
virtual int OnPerformDrop(const ui::DropTargetEvent& event) OVERRIDE;
// Overridden from aura::RootWindowObserver:
- virtual void OnRootWindowHostCloseRequested(
+ virtual void OnWindowTreeHostCloseRequested(
const aura::RootWindow* root) OVERRIDE;
- virtual void OnRootWindowHostResized(const aura::RootWindow* root) OVERRIDE;
- virtual void OnRootWindowHostMoved(const aura::RootWindow* root,
+ virtual void OnWindowTreeHostResized(const aura::RootWindow* root) OVERRIDE;
+ virtual void OnWindowTreeHostMoved(const aura::RootWindow* root,
const gfx::Point& new_origin) OVERRIDE;
private:
@@ -244,7 +244,7 @@ class VIEWS_EXPORT DesktopNativeWidgetAura
scoped_ptr<DesktopCaptureClient> capture_client_;
// The NativeWidget owns the RootWindow. Required because the RootWindow owns
- // its RootWindowHost, so DesktopRootWindowHost can't own it.
+ // its WindowTreeHost, so DesktopWindowTreeHost can't own it.
scoped_ptr<aura::RootWindow> root_window_;
// The following factory is used for calls to close the NativeWidgetAura
@@ -255,7 +255,7 @@ class VIEWS_EXPORT DesktopNativeWidgetAura
bool can_activate_;
// Ownership passed to RootWindow on Init.
- DesktopRootWindowHost* desktop_root_window_host_;
+ DesktopWindowTreeHost* desktop_root_window_host_;
// Child of the root, contains |content_window_|.
aura::Window* content_window_container_;
« no previous file with comments | « ui/views/widget/desktop_aura/desktop_factory_ozone.h ('k') | ui/views/widget/desktop_aura/desktop_native_widget_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698