Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(121)

Side by Side Diff: ui/views/widget/desktop_aura/desktop_root_window_host_x11.h

Issue 32393002: Stack at top functionality for Aura-based windows (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Stack at top functionality for Aura-based windows Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 virtual scoped_ptr<aura::client::DragDropClient> 77 virtual scoped_ptr<aura::client::DragDropClient>
78 CreateDragDropClient(DesktopNativeCursorManager* cursor_manager) OVERRIDE; 78 CreateDragDropClient(DesktopNativeCursorManager* cursor_manager) OVERRIDE;
79 virtual void Close() OVERRIDE; 79 virtual void Close() OVERRIDE;
80 virtual void CloseNow() OVERRIDE; 80 virtual void CloseNow() OVERRIDE;
81 virtual aura::RootWindowHost* AsRootWindowHost() OVERRIDE; 81 virtual aura::RootWindowHost* AsRootWindowHost() OVERRIDE;
82 virtual void ShowWindowWithState(ui::WindowShowState show_state) OVERRIDE; 82 virtual void ShowWindowWithState(ui::WindowShowState show_state) OVERRIDE;
83 virtual void ShowMaximizedWithBounds( 83 virtual void ShowMaximizedWithBounds(
84 const gfx::Rect& restored_bounds) OVERRIDE; 84 const gfx::Rect& restored_bounds) OVERRIDE;
85 virtual bool IsVisible() const OVERRIDE; 85 virtual bool IsVisible() const OVERRIDE;
86 virtual void SetSize(const gfx::Size& size) OVERRIDE; 86 virtual void SetSize(const gfx::Size& size) OVERRIDE;
87 virtual void StackAtTop() OVERRIDE;
87 virtual void CenterWindow(const gfx::Size& size) OVERRIDE; 88 virtual void CenterWindow(const gfx::Size& size) OVERRIDE;
88 virtual void GetWindowPlacement( 89 virtual void GetWindowPlacement(
89 gfx::Rect* bounds, 90 gfx::Rect* bounds,
90 ui::WindowShowState* show_state) const OVERRIDE; 91 ui::WindowShowState* show_state) const OVERRIDE;
91 virtual gfx::Rect GetWindowBoundsInScreen() const OVERRIDE; 92 virtual gfx::Rect GetWindowBoundsInScreen() const OVERRIDE;
92 virtual gfx::Rect GetClientAreaBoundsInScreen() const OVERRIDE; 93 virtual gfx::Rect GetClientAreaBoundsInScreen() const OVERRIDE;
93 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; 94 virtual gfx::Rect GetRestoredBounds() const OVERRIDE;
94 virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE; 95 virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE;
95 virtual void SetShape(gfx::NativeRegion native_region) OVERRIDE; 96 virtual void SetShape(gfx::NativeRegion native_region) OVERRIDE;
96 virtual void Activate() OVERRIDE; 97 virtual void Activate() OVERRIDE;
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 // A list of all (top-level) windows that have been created but not yet 276 // A list of all (top-level) windows that have been created but not yet
276 // destroyed. 277 // destroyed.
277 static std::list<XID>* open_windows_; 278 static std::list<XID>* open_windows_;
278 279
279 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostX11); 280 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostX11);
280 }; 281 };
281 282
282 } // namespace views 283 } // namespace views
283 284
284 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_X11_H_ 285 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_X11_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698