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

Unified Diff: ui/aura/root_window_host_win.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
« no previous file with comments | « ui/aura/root_window_host_ozone.cc ('k') | ui/aura/root_window_host_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/root_window_host_win.h
diff --git a/ui/aura/root_window_host_win.h b/ui/aura/root_window_host_win.h
index 3d99821400af10cca18d609f6f6cbfaacd8d903a..3833fff7e2a02f38eb7079b499fe8cd24d0043bb 100644
--- a/ui/aura/root_window_host_win.h
+++ b/ui/aura/root_window_host_win.h
@@ -12,11 +12,11 @@
namespace aura {
-class RootWindowHostWin : public RootWindowHost, public gfx::WindowImpl {
+class WindowTreeHostWin : public WindowTreeHost, public gfx::WindowImpl {
public:
- RootWindowHostWin(const gfx::Rect& bounds);
- virtual ~RootWindowHostWin();
- // RootWindowHost:
+ WindowTreeHostWin(const gfx::Rect& bounds);
+ virtual ~WindowTreeHostWin();
+ // WindowTreeHost:
virtual RootWindow* GetRootWindow() OVERRIDE;
virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE;
virtual void Show() OVERRIDE;
@@ -40,7 +40,7 @@ class RootWindowHostWin : public RootWindowHost, public gfx::WindowImpl {
virtual void PrepareForShutdown() OVERRIDE;
private:
- BEGIN_MSG_MAP_EX(RootWindowHostWin)
+ BEGIN_MSG_MAP_EX(WindowTreeHostWin)
// Range handlers must go first!
MESSAGE_RANGE_HANDLER_EX(WM_MOUSEFIRST, WM_MOUSELAST, OnMouseRange)
MESSAGE_RANGE_HANDLER_EX(WM_NCMOUSEMOVE, WM_NCXBUTTONDBLCLK, OnMouseRange)
@@ -79,12 +79,12 @@ class RootWindowHostWin : public RootWindowHost, public gfx::WindowImpl {
DWORD saved_window_style_;
DWORD saved_window_ex_style_;
- DISALLOW_COPY_AND_ASSIGN(RootWindowHostWin);
+ DISALLOW_COPY_AND_ASSIGN(WindowTreeHostWin);
};
namespace test {
-// Set true to let RootWindowHostWin use a popup window
+// Set true to let WindowTreeHostWin use a popup window
// with no frame/title so that the window size and test's
// expectations matches.
AURA_EXPORT void SetUsePopupAsRootWindowForTest(bool use);
« no previous file with comments | « ui/aura/root_window_host_ozone.cc ('k') | ui/aura/root_window_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698