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

Unified Diff: ui/aura/root_window_host_win.h

Issue 8771015: Rename Desktop->RootWindow. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years 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_linux.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
===================================================================
--- ui/aura/root_window_host_win.h (revision 113260)
+++ ui/aura/root_window_host_win.h (working copy)
@@ -2,26 +2,26 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef UI_AURA_DESKTOP_HOST_WIN_H_
-#define UI_AURA_DESKTOP_HOST_WIN_H_
+#ifndef UI_AURA_ROOT_WINDOW_HOST_WIN_H_
+#define UI_AURA_ROOT_WINDOW_HOST_WIN_H_
#pragma once
#include "base/compiler_specific.h"
-#include "ui/aura/desktop_host.h"
+#include "ui/aura/root_window_host.h"
#include "ui/base/win/window_impl.h"
namespace aura {
-class DesktopHostWin : public DesktopHost, public ui::WindowImpl {
+class RootWindowHostWin : public RootWindowHost, public ui::WindowImpl {
public:
- explicit DesktopHostWin(const gfx::Rect& bounds);
- virtual ~DesktopHostWin();
+ explicit RootWindowHostWin(const gfx::Rect& bounds);
+ virtual ~RootWindowHostWin();
// MessageLoop::Dispatcher:
virtual bool Dispatch(const MSG& msg);
- // DesktopHost:
- virtual void SetDesktop(Desktop* desktop) OVERRIDE;
+ // RootWindowHost:
+ virtual void SetRootWindow(RootWindow* root_window) OVERRIDE;
virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE;
virtual void Show() OVERRIDE;
virtual void ToggleFullScreen() OVERRIDE;
@@ -33,7 +33,7 @@
virtual void PostNativeEvent(const base::NativeEvent& native_event) OVERRIDE;
private:
- BEGIN_MSG_MAP_EX(DesktopHostWin)
+ 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)
@@ -58,16 +58,16 @@
void OnPaint(HDC dc);
void OnSize(UINT param, const CSize& size);
- Desktop* desktop_;
+ RootWindow* root_window_;
bool fullscreen_;
RECT saved_window_rect_;
DWORD saved_window_style_;
DWORD saved_window_ex_style_;
- DISALLOW_COPY_AND_ASSIGN(DesktopHostWin);
+ DISALLOW_COPY_AND_ASSIGN(RootWindowHostWin);
};
} // namespace aura
-#endif // UI_AURA_DESKTOP_HOST_WIN_H_
+#endif // UI_AURA_ROOT_WINDOW_HOST_WIN_H_
« no previous file with comments | « ui/aura/root_window_host_linux.cc ('k') | ui/aura/root_window_host_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698