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_NATIVE_WIDGET_AURA_H_ | 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ |
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ | 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ |
7 | 7 |
8 #include "base/memory/weak_ptr.h" | 8 #include "base/memory/weak_ptr.h" |
9 #include "ui/aura/client/activation_change_observer.h" | 9 #include "ui/aura/client/activation_change_observer.h" |
10 #include "ui/aura/client/activation_delegate.h" | 10 #include "ui/aura/client/activation_delegate.h" |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; | 105 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |
106 virtual void SetSize(const gfx::Size& size) OVERRIDE; | 106 virtual void SetSize(const gfx::Size& size) OVERRIDE; |
107 virtual void StackAbove(gfx::NativeView native_view) OVERRIDE; | 107 virtual void StackAbove(gfx::NativeView native_view) OVERRIDE; |
108 virtual void StackAtTop() OVERRIDE; | 108 virtual void StackAtTop() OVERRIDE; |
109 virtual void StackBelow(gfx::NativeView native_view) OVERRIDE; | 109 virtual void StackBelow(gfx::NativeView native_view) OVERRIDE; |
110 virtual void SetShape(gfx::NativeRegion shape) OVERRIDE; | 110 virtual void SetShape(gfx::NativeRegion shape) OVERRIDE; |
111 virtual void Close() OVERRIDE; | 111 virtual void Close() OVERRIDE; |
112 virtual void CloseNow() OVERRIDE; | 112 virtual void CloseNow() OVERRIDE; |
113 virtual void Show() OVERRIDE; | 113 virtual void Show() OVERRIDE; |
114 virtual void Hide() OVERRIDE; | 114 virtual void Hide() OVERRIDE; |
| 115 virtual void HideAndClose() OVERRIDE; |
115 virtual void ShowMaximizedWithBounds( | 116 virtual void ShowMaximizedWithBounds( |
116 const gfx::Rect& restored_bounds) OVERRIDE; | 117 const gfx::Rect& restored_bounds) OVERRIDE; |
117 virtual void ShowWithWindowState(ui::WindowShowState state) OVERRIDE; | 118 virtual void ShowWithWindowState(ui::WindowShowState state) OVERRIDE; |
118 virtual bool IsVisible() const OVERRIDE; | 119 virtual bool IsVisible() const OVERRIDE; |
119 virtual void Activate() OVERRIDE; | 120 virtual void Activate() OVERRIDE; |
120 virtual void Deactivate() OVERRIDE; | 121 virtual void Deactivate() OVERRIDE; |
121 virtual bool IsActive() const OVERRIDE; | 122 virtual bool IsActive() const OVERRIDE; |
122 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE; | 123 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE; |
123 virtual void Maximize() OVERRIDE; | 124 virtual void Maximize() OVERRIDE; |
124 virtual void Minimize() OVERRIDE; | 125 virtual void Minimize() OVERRIDE; |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 bool restore_focus_on_activate_; | 240 bool restore_focus_on_activate_; |
240 | 241 |
241 scoped_ptr<corewm::ShadowController> shadow_controller_; | 242 scoped_ptr<corewm::ShadowController> shadow_controller_; |
242 | 243 |
243 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); | 244 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); |
244 }; | 245 }; |
245 | 246 |
246 } // namespace views | 247 } // namespace views |
247 | 248 |
248 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ | 249 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ |
OLD | NEW |