OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef AURA_DESKTOP_HOST_WIN_H_ | 5 #ifndef UI_AURA_DESKTOP_HOST_WIN_H_ |
6 #define AURA_DESKTOP_HOST_WIN_H_ | 6 #define UI_AURA_DESKTOP_HOST_WIN_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "aura/desktop_host.h" | |
10 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "ui/aura/desktop_host.h" |
11 #include "ui/base/win/window_impl.h" | 11 #include "ui/base/win/window_impl.h" |
12 | 12 |
13 namespace aura { | 13 namespace aura { |
14 | 14 |
15 class DesktopHostWin : public DesktopHost, public ui::WindowImpl { | 15 class DesktopHostWin : public DesktopHost, public ui::WindowImpl { |
16 public: | 16 public: |
17 explicit DesktopHostWin(const gfx::Rect& bounds); | 17 explicit DesktopHostWin(const gfx::Rect& bounds); |
18 virtual ~DesktopHostWin(); | 18 virtual ~DesktopHostWin(); |
19 | 19 |
20 // MessageLoop::Dispatcher: | 20 // MessageLoop::Dispatcher: |
(...skipping 29 matching lines...) Expand all Loading... |
50 void OnPaint(HDC dc); | 50 void OnPaint(HDC dc); |
51 void OnSize(UINT param, const CSize& size); | 51 void OnSize(UINT param, const CSize& size); |
52 | 52 |
53 Desktop* desktop_; | 53 Desktop* desktop_; |
54 | 54 |
55 DISALLOW_COPY_AND_ASSIGN(DesktopHostWin); | 55 DISALLOW_COPY_AND_ASSIGN(DesktopHostWin); |
56 }; | 56 }; |
57 | 57 |
58 } // namespace aura | 58 } // namespace aura |
59 | 59 |
60 #endif // AURA_DESKTOP_HOST_WIN_H_ | 60 #endif // UI_AURA_DESKTOP_HOST_WIN_H_ |
OLD | NEW |