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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_root_window_host_win.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, 1 month 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_WIN_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_
7 7
8 #include "ui/aura/client/animation_host.h" 8 #include "ui/aura/client/animation_host.h"
9 #include "ui/aura/root_window_host.h" 9 #include "ui/aura/root_window_host.h"
10 #include "ui/views/views_export.h" 10 #include "ui/views/views_export.h"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 virtual void InitFocus(aura::Window* window) OVERRIDE; 51 virtual void InitFocus(aura::Window* window) OVERRIDE;
52 virtual scoped_ptr<corewm::Tooltip> CreateTooltip() OVERRIDE; 52 virtual scoped_ptr<corewm::Tooltip> CreateTooltip() OVERRIDE;
53 virtual void Close() OVERRIDE; 53 virtual void Close() OVERRIDE;
54 virtual void CloseNow() OVERRIDE; 54 virtual void CloseNow() OVERRIDE;
55 virtual aura::RootWindowHost* AsRootWindowHost() OVERRIDE; 55 virtual aura::RootWindowHost* AsRootWindowHost() OVERRIDE;
56 virtual void ShowWindowWithState(ui::WindowShowState show_state) OVERRIDE; 56 virtual void ShowWindowWithState(ui::WindowShowState show_state) OVERRIDE;
57 virtual void ShowMaximizedWithBounds( 57 virtual void ShowMaximizedWithBounds(
58 const gfx::Rect& restored_bounds) OVERRIDE; 58 const gfx::Rect& restored_bounds) OVERRIDE;
59 virtual bool IsVisible() const OVERRIDE; 59 virtual bool IsVisible() const OVERRIDE;
60 virtual void SetSize(const gfx::Size& size) OVERRIDE; 60 virtual void SetSize(const gfx::Size& size) OVERRIDE;
61 virtual void StackAtTop() OVERRIDE;
61 virtual void CenterWindow(const gfx::Size& size) OVERRIDE; 62 virtual void CenterWindow(const gfx::Size& size) OVERRIDE;
62 virtual void GetWindowPlacement( 63 virtual void GetWindowPlacement(
63 gfx::Rect* bounds, 64 gfx::Rect* bounds,
64 ui::WindowShowState* show_state) const OVERRIDE; 65 ui::WindowShowState* show_state) const OVERRIDE;
65 virtual gfx::Rect GetWindowBoundsInScreen() const OVERRIDE; 66 virtual gfx::Rect GetWindowBoundsInScreen() const OVERRIDE;
66 virtual gfx::Rect GetClientAreaBoundsInScreen() const OVERRIDE; 67 virtual gfx::Rect GetClientAreaBoundsInScreen() const OVERRIDE;
67 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; 68 virtual gfx::Rect GetRestoredBounds() const OVERRIDE;
68 virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE; 69 virtual gfx::Rect GetWorkAreaBoundsInScreen() const OVERRIDE;
69 virtual void SetShape(gfx::NativeRegion native_region) OVERRIDE; 70 virtual void SetShape(gfx::NativeRegion native_region) OVERRIDE;
70 virtual void Activate() OVERRIDE; 71 virtual void Activate() OVERRIDE;
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 // Owned by TooltipController, but we need to forward events to it so we keep 269 // Owned by TooltipController, but we need to forward events to it so we keep
269 // a reference. 270 // a reference.
270 corewm::TooltipWin* tooltip_; 271 corewm::TooltipWin* tooltip_;
271 272
272 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostWin); 273 DISALLOW_COPY_AND_ASSIGN(DesktopRootWindowHostWin);
273 }; 274 };
274 275
275 } // namespace views 276 } // namespace views
276 277
277 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_ 278 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698