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_NATIVE_WIDGET_AURA_H_ | 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ |
6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ | 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 void CenterWindow(const gfx::Size& size) override; | 76 void CenterWindow(const gfx::Size& size) override; |
77 void GetWindowPlacement(gfx::Rect* bounds, | 77 void GetWindowPlacement(gfx::Rect* bounds, |
78 ui::WindowShowState* maximized) const override; | 78 ui::WindowShowState* maximized) const override; |
79 bool SetWindowTitle(const base::string16& title) override; | 79 bool SetWindowTitle(const base::string16& title) override; |
80 void SetWindowIcons(const gfx::ImageSkia& window_icon, | 80 void SetWindowIcons(const gfx::ImageSkia& window_icon, |
81 const gfx::ImageSkia& app_icon) override; | 81 const gfx::ImageSkia& app_icon) override; |
82 void InitModalType(ui::ModalType modal_type) override; | 82 void InitModalType(ui::ModalType modal_type) override; |
83 gfx::Rect GetWindowBoundsInScreen() const override; | 83 gfx::Rect GetWindowBoundsInScreen() const override; |
84 gfx::Rect GetClientAreaBoundsInScreen() const override; | 84 gfx::Rect GetClientAreaBoundsInScreen() const override; |
85 gfx::Rect GetRestoredBounds() const override; | 85 gfx::Rect GetRestoredBounds() const override; |
| 86 int GetRestoredWorkspace() const override; |
86 void SetBounds(const gfx::Rect& bounds) override; | 87 void SetBounds(const gfx::Rect& bounds) override; |
87 void SetSize(const gfx::Size& size) override; | 88 void SetSize(const gfx::Size& size) override; |
88 void StackAbove(gfx::NativeView native_view) override; | 89 void StackAbove(gfx::NativeView native_view) override; |
89 void StackAtTop() override; | 90 void StackAtTop() override; |
90 void StackBelow(gfx::NativeView native_view) override; | 91 void StackBelow(gfx::NativeView native_view) override; |
91 void SetShape(SkRegion* shape) override; | 92 void SetShape(SkRegion* shape) override; |
92 void Close() override; | 93 void Close() override; |
93 void CloseNow() override; | 94 void CloseNow() override; |
94 void Show() override; | 95 void Show() override; |
95 void Hide() override; | 96 void Hide() override; |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 // The following factory is used for calls to close the NativeWidgetAura | 232 // The following factory is used for calls to close the NativeWidgetAura |
232 // instance. | 233 // instance. |
233 base::WeakPtrFactory<NativeWidgetAura> close_widget_factory_; | 234 base::WeakPtrFactory<NativeWidgetAura> close_widget_factory_; |
234 | 235 |
235 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); | 236 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); |
236 }; | 237 }; |
237 | 238 |
238 } // namespace views | 239 } // namespace views |
239 | 240 |
240 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ | 241 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ |
OLD | NEW |