1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef AURA_DESKTOP_HOST_WIN_H_
6 #define AURA_DESKTOP_HOST_WIN_H_
9 #include "aura/desktop_host.h"
10 #include "base/compiler_specific.h"
11 #include "ui/base/win/window_impl.h"
15 class DesktopHostWin
: public DesktopHost
, public ui::WindowImpl
{
17 DesktopHostWin(const gfx::Rect
& bounds
);
18 virtual ~DesktopHostWin();
21 virtual void SetDesktop(Desktop
* desktop
) OVERRIDE
;
22 virtual gfx::AcceleratedWidget
GetAcceleratedWidget() OVERRIDE
;
23 virtual void Show() OVERRIDE
;
24 virtual gfx::Size
GetSize() OVERRIDE
;
27 BEGIN_MSG_MAP_EX(DesktopHostWin
)
37 DISALLOW_COPY_AND_ASSIGN(DesktopHostWin
);
42 #endif // AURA_DESKTOP_HOST_WIN_H_