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

Unified Diff: trunk/src/ui/views/widget/desktop_aura/desktop_native_widget_aura.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/ui/views/widget/desktop_aura/desktop_native_widget_aura.h
===================================================================
--- trunk/src/ui/views/widget/desktop_aura/desktop_native_widget_aura.h (revision 236092)
+++ trunk/src/ui/views/widget/desktop_aura/desktop_native_widget_aura.h (working copy)
@@ -41,7 +41,7 @@
class DesktopCaptureClient;
class DesktopDispatcherClient;
class DesktopEventClient;
-class DesktopWindowTreeHost;
+class DesktopRootWindowHost;
class DropHelper;
class FocusManagerEventHandler;
class TooltipManagerAura;
@@ -63,13 +63,13 @@
// Maps from window to DesktopNativeWidgetAura.
static DesktopNativeWidgetAura* ForWindow(aura::Window* window);
- // Called by our DesktopWindowTreeHost after it has deleted native resources;
+ // Called by our DesktopRootWindowHost after it has deleted native resources;
// this is the signal that we should start our shutdown.
virtual void OnHostClosed();
- // Called from ~DesktopWindowTreeHost. This takes the RootWindow as by the
+ // Called from ~DesktopRootWindowHost. This takes the RootWindow as by the
// time we get here |root_window_| is NULL.
- virtual void OnDesktopWindowTreeHostDestroyed(aura::RootWindow* root);
+ virtual void OnDesktopRootWindowHostDestroyed(aura::RootWindow* root);
corewm::InputMethodEventFilter* input_method_event_filter() {
return input_method_event_filter_.get();
@@ -218,10 +218,10 @@
virtual int OnPerformDrop(const ui::DropTargetEvent& event) OVERRIDE;
// Overridden from aura::RootWindowObserver:
- virtual void OnWindowTreeHostCloseRequested(
+ virtual void OnRootWindowHostCloseRequested(
const aura::RootWindow* root) OVERRIDE;
- virtual void OnWindowTreeHostResized(const aura::RootWindow* root) OVERRIDE;
- virtual void OnWindowTreeHostMoved(const aura::RootWindow* root,
+ virtual void OnRootWindowHostResized(const aura::RootWindow* root) OVERRIDE;
+ virtual void OnRootWindowHostMoved(const aura::RootWindow* root,
const gfx::Point& new_origin) OVERRIDE;
private:
@@ -240,7 +240,7 @@
scoped_ptr<DesktopCaptureClient> capture_client_;
// The NativeWidget owns the RootWindow. Required because the RootWindow owns
- // its WindowTreeHost, so DesktopWindowTreeHost can't own it.
+ // its RootWindowHost, so DesktopRootWindowHost can't own it.
scoped_ptr<aura::RootWindow> root_window_;
// The following factory is used for calls to close the NativeWidgetAura
@@ -251,7 +251,7 @@
bool can_activate_;
// Ownership passed to RootWindow on Init.
- DesktopWindowTreeHost* desktop_root_window_host_;
+ DesktopRootWindowHost* desktop_root_window_host_;
// Child of the root, contains |content_window_|.
aura::Window* content_window_container_;

Powered by Google App Engine
This is Rietveld 408576698