OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 UI_AURA_ROOT_WINDOW_HOST_WIN_H_ | 5 #ifndef UI_AURA_ROOT_WINDOW_HOST_WIN_H_ |
6 #define UI_AURA_ROOT_WINDOW_HOST_WIN_H_ | 6 #define UI_AURA_ROOT_WINDOW_HOST_WIN_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "ui/aura/root_window_host.h" | 9 #include "ui/aura/root_window_host.h" |
10 #include "ui/base/ui_export.h" | 10 #include "ui/base/ui_export.h" |
11 #include "ui/base/win/window_impl.h" | 11 #include "ui/gfx/win/window_impl.h" |
12 | 12 |
13 namespace aura { | 13 namespace aura { |
14 | 14 |
15 class RootWindowHostWin : public RootWindowHost, public ui::WindowImpl { | 15 class RootWindowHostWin : public RootWindowHost, public gfx::WindowImpl { |
16 public: | 16 public: |
17 RootWindowHostWin(const gfx::Rect& bounds); | 17 RootWindowHostWin(const gfx::Rect& bounds); |
18 virtual ~RootWindowHostWin(); | 18 virtual ~RootWindowHostWin(); |
19 // RootWindowHost: | 19 // RootWindowHost: |
20 virtual void SetDelegate(RootWindowHostDelegate* delegate) OVERRIDE; | 20 virtual void SetDelegate(RootWindowHostDelegate* delegate) OVERRIDE; |
21 virtual RootWindow* GetRootWindow() OVERRIDE; | 21 virtual RootWindow* GetRootWindow() OVERRIDE; |
22 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; | 22 virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; |
23 virtual void Show() OVERRIDE; | 23 virtual void Show() OVERRIDE; |
24 virtual void Hide() OVERRIDE; | 24 virtual void Hide() OVERRIDE; |
25 virtual void ToggleFullScreen() OVERRIDE; | 25 virtual void ToggleFullScreen() OVERRIDE; |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 // Set true to let RootWindowHostWin use a popup window | 91 // Set true to let RootWindowHostWin use a popup window |
92 // with no frame/title so that the window size and test's | 92 // with no frame/title so that the window size and test's |
93 // expectations matches. | 93 // expectations matches. |
94 AURA_EXPORT void SetUsePopupAsRootWindowForTest(bool use); | 94 AURA_EXPORT void SetUsePopupAsRootWindowForTest(bool use); |
95 | 95 |
96 } // namespace | 96 } // namespace |
97 | 97 |
98 } // namespace aura | 98 } // namespace aura |
99 | 99 |
100 #endif // UI_AURA_ROOT_WINDOW_HOST_WIN_H_ | 100 #endif // UI_AURA_ROOT_WINDOW_HOST_WIN_H_ |
OLD | NEW |