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_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_LINUX_H_ | 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_LINUX_H_ |
6 #define UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_LINUX_H_ | 6 #define UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_LINUX_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "ui/views/widget/desktop_root_window_host.h" | 9 #include "ui/views/widget/desktop_root_window_host.h" |
10 | 10 |
11 namespace views { | 11 namespace views { |
12 | 12 |
13 class DesktopRootWindowHostLinux : public DesktopRootWindowHost { | 13 class DesktopRootWindowHostLinux : public DesktopRootWindowHost { |
14 public: | 14 public: |
15 DesktopRootWindowHostLinux(); | 15 DesktopRootWindowHostLinux(); |
16 virtual ~DesktopRootWindowHostLinux(); | 16 virtual ~DesktopRootWindowHostLinux(); |
17 | 17 |
18 private: | 18 private: |
19 // Overridden from DesktopRootWindowHost: | 19 // Overridden from DesktopRootWindowHost: |
20 virtual void Init(aura::Window* content_window, | 20 virtual void Init(aura::Window* content_window, |
21 const Widget::InitParams& params) OVERRIDE; | 21 const Widget::InitParams& params) OVERRIDE; |
| 22 virtual void Close() OVERRIDE; |
| 23 virtual void CloseNow() OVERRIDE; |
| 24 virtual aura::RootWindowHost* AsRootWindowHost() OVERRIDE; |
22 virtual void ShowWindowWithState(ui::WindowShowState show_state) OVERRIDE; | 25 virtual void ShowWindowWithState(ui::WindowShowState show_state) OVERRIDE; |
| 26 virtual bool IsVisible() const OVERRIDE; |
| 27 virtual gfx::Rect GetClientAreaBoundsInScreen() const OVERRIDE; |
23 | 28 |
24 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostLinux); | 29 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostLinux); |
25 }; | 30 }; |
26 | 31 |
27 } // namespace views | 32 } // namespace views |
28 | 33 |
29 #endif // UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_LINUX_H_ | 34 #endif // UI_VIEWS_WIDGET_DESKTOP_ROOT_WINDOW_HOST_LINUX_H_ |
OLD | NEW |