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_AURA_DESKTOP_ROOT_WINDOW_HOST_X11_H_ | 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_X11_H_ |
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_X11_H_ | 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_X11_H_ |
7 | 7 |
8 #include <X11/Xlib.h> | 8 #include <X11/Xlib.h> |
9 | 9 |
10 // Get rid of a macro from Xlib.h that conflicts with Aura's RootWindow class. | 10 // Get rid of a macro from Xlib.h that conflicts with Aura's RootWindow class. |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 virtual void InitFocus(aura::Window* window) OVERRIDE; | 80 virtual void InitFocus(aura::Window* window) OVERRIDE; |
81 virtual scoped_ptr<corewm::Tooltip> CreateTooltip() OVERRIDE; | 81 virtual scoped_ptr<corewm::Tooltip> CreateTooltip() OVERRIDE; |
82 virtual void Close() OVERRIDE; | 82 virtual void Close() OVERRIDE; |
83 virtual void CloseNow() OVERRIDE; | 83 virtual void CloseNow() OVERRIDE; |
84 virtual aura::RootWindowHost* AsRootWindowHost() OVERRIDE; | 84 virtual aura::RootWindowHost* AsRootWindowHost() OVERRIDE; |
85 virtual void ShowWindowWithState(ui::WindowShowState show_state) OVERRIDE; | 85 virtual void ShowWindowWithState(ui::WindowShowState show_state) OVERRIDE; |
86 virtual void ShowMaximizedWithBounds( | 86 virtual void ShowMaximizedWithBounds( |
87 const gfx::Rect& restored_bounds) OVERRIDE; | 87 const gfx::Rect& restored_bounds) OVERRIDE; |
88 virtual bool IsVisible() const OVERRIDE; | 88 virtual bool IsVisible() const OVERRIDE; |
89 virtual void SetSize(const gfx::Size& size) OVERRIDE; | 89 virtual void SetSize(const gfx::Size& size) OVERRIDE; |
| 90 virtual void StackAtTop() OVERRIDE; |
90 virtual void CenterWindow(const gfx::Size& size) OVERRIDE; | 91 virtual void CenterWindow(const gfx::Size& size) OVERRIDE; |
91 virtual void GetWindowPlacement( | 92 virtual void GetWindowPlacement( |
92 gfx::Rect* bounds, | 93 gfx::Rect* bounds, |
93 ui::WindowShowState* show_state) const OVERRIDE; | 94 ui::WindowShowState* show_state) const OVERRIDE; |
94 virtual gfx::Rect GetWindowBoundsInScreen() const OVERRIDE; | 95 virtual gfx::Rect GetWindowBoundsInScreen() const OVERRIDE; |
95 virtual gfx::Rect GetClientAreaBoundsInScreen() const OVERRIDE; | 96 virtual gfx::Rect GetClientAreaBoundsInScreen() const OVERRIDE; |
96 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; | 97 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; |
97 virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE; | 98 virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE; |
98 virtual void SetShape(gfx::NativeRegion native_region) OVERRIDE; | 99 virtual void SetShape(gfx::NativeRegion native_region) OVERRIDE; |
99 virtual void Activate() OVERRIDE; | 100 virtual void Activate() OVERRIDE; |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 // A list of all (top-level) windows that have been created but not yet | 273 // A list of all (top-level) windows that have been created but not yet |
273 // destroyed. | 274 // destroyed. |
274 static std::list<XID>* open_windows_; | 275 static std::list<XID>* open_windows_; |
275 | 276 |
276 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostX11); | 277 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostX11); |
277 }; | 278 }; |
278 | 279 |
279 } // namespace views | 280 } // namespace views |
280 | 281 |
281 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_X11_H_ | 282 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_X11_H_ |
OLD | NEW |