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

Side by Side Diff: ui/views/widget/desktop_aura/desktop_root_window_host.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_H_ 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_H_
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_H_ 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "ui/base/ui_base_types.h" 9 #include "ui/base/ui_base_types.h"
10 #include "ui/views/views_export.h" 10 #include "ui/views/views_export.h"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 virtual void CloseNow() = 0; 60 virtual void CloseNow() = 0;
61 61
62 virtual aura::RootWindowHost* AsRootWindowHost() = 0; 62 virtual aura::RootWindowHost* AsRootWindowHost() = 0;
63 63
64 virtual void ShowWindowWithState(ui::WindowShowState show_state) = 0; 64 virtual void ShowWindowWithState(ui::WindowShowState show_state) = 0;
65 virtual void ShowMaximizedWithBounds(const gfx::Rect& restored_bounds) = 0; 65 virtual void ShowMaximizedWithBounds(const gfx::Rect& restored_bounds) = 0;
66 66
67 virtual bool IsVisible() const = 0; 67 virtual bool IsVisible() const = 0;
68 68
69 virtual void SetSize(const gfx::Size& size) = 0; 69 virtual void SetSize(const gfx::Size& size) = 0;
70 virtual void StackAtTop() = 0;
70 virtual void CenterWindow(const gfx::Size& size) = 0; 71 virtual void CenterWindow(const gfx::Size& size) = 0;
71 virtual void GetWindowPlacement(gfx::Rect* bounds, 72 virtual void GetWindowPlacement(gfx::Rect* bounds,
72 ui::WindowShowState* show_state) const = 0; 73 ui::WindowShowState* show_state) const = 0;
73 virtual gfx::Rect GetWindowBoundsInScreen() const = 0; 74 virtual gfx::Rect GetWindowBoundsInScreen() const = 0;
74 virtual gfx::Rect GetClientAreaBoundsInScreen() const = 0; 75 virtual gfx::Rect GetClientAreaBoundsInScreen() const = 0;
75 virtual gfx::Rect GetRestoredBounds() const = 0; 76 virtual gfx::Rect GetRestoredBounds() const = 0;
76 77
77 virtual gfx::Rect GetWorkAreaBoundsInScreen() const = 0; 78 virtual gfx::Rect GetWorkAreaBoundsInScreen() const = 0;
78 79
79 virtual void SetShape(gfx::NativeRegion native_region) = 0; 80 virtual void SetShape(gfx::NativeRegion native_region) = 0;
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 125
125 // Called when the DesktopNativeWidgetAura's aura::Window is focused and 126 // Called when the DesktopNativeWidgetAura's aura::Window is focused and
126 // blurred. 127 // blurred.
127 virtual void OnNativeWidgetFocus() = 0; 128 virtual void OnNativeWidgetFocus() = 0;
128 virtual void OnNativeWidgetBlur() = 0; 129 virtual void OnNativeWidgetBlur() = 0;
129 }; 130 };
130 131
131 } // namespace views 132 } // namespace views
132 133
133 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_H_ 134 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_ROOT_WINDOW_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698