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

Unified Diff: trunk/src/ui/aura/root_window_host_win.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
« no previous file with comments | « trunk/src/ui/aura/root_window_host_ozone.cc ('k') | trunk/src/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: trunk/src/ui/aura/root_window_host_win.h
===================================================================
--- trunk/src/ui/aura/root_window_host_win.h (revision 236091)
+++ trunk/src/ui/aura/root_window_host_win.h (working copy)
@@ -12,11 +12,11 @@
namespace aura {
-class WindowTreeHostWin : public WindowTreeHost, public gfx::WindowImpl {
+class RootWindowHostWin : public RootWindowHost, public gfx::WindowImpl {
public:
- WindowTreeHostWin(const gfx::Rect& bounds);
- virtual ~WindowTreeHostWin();
- // WindowTreeHost:
+ RootWindowHostWin(const gfx::Rect& bounds);
+ virtual ~RootWindowHostWin();
+ // RootWindowHost:
virtual RootWindow* GetRootWindow() OVERRIDE;
virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE;
virtual void Show() OVERRIDE;
@@ -40,7 +40,7 @@
virtual void PrepareForShutdown() OVERRIDE;
private:
- BEGIN_MSG_MAP_EX(WindowTreeHostWin)
+ BEGIN_MSG_MAP_EX(RootWindowHostWin)
// 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 @@
DWORD saved_window_style_;
DWORD saved_window_ex_style_;
- DISALLOW_COPY_AND_ASSIGN(WindowTreeHostWin);
+ DISALLOW_COPY_AND_ASSIGN(RootWindowHostWin);
};
namespace test {
-// Set true to let WindowTreeHostWin use a popup window
+// Set true to let RootWindowHostWin 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 | « trunk/src/ui/aura/root_window_host_ozone.cc ('k') | trunk/src/ui/aura/root_window_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698