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 <string> | 8 #include <string> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 const gfx::ImageSkia& app_icon) override; | 121 const gfx::ImageSkia& app_icon) override; |
122 void InitModalType(ui::ModalType modal_type) override; | 122 void InitModalType(ui::ModalType modal_type) override; |
123 gfx::Rect GetWindowBoundsInScreen() const override; | 123 gfx::Rect GetWindowBoundsInScreen() const override; |
124 gfx::Rect GetClientAreaBoundsInScreen() const override; | 124 gfx::Rect GetClientAreaBoundsInScreen() const override; |
125 gfx::Rect GetRestoredBounds() const override; | 125 gfx::Rect GetRestoredBounds() const override; |
126 std::string GetWorkspace() const override; | 126 std::string GetWorkspace() const override; |
127 void SetBounds(const gfx::Rect& bounds) override; | 127 void SetBounds(const gfx::Rect& bounds) override; |
128 void SetSize(const gfx::Size& size) override; | 128 void SetSize(const gfx::Size& size) override; |
129 void StackAbove(gfx::NativeView native_view) override; | 129 void StackAbove(gfx::NativeView native_view) override; |
130 void StackAtTop() override; | 130 void StackAtTop() override; |
131 void StackBelow(gfx::NativeView native_view) override; | |
132 void SetShape(std::unique_ptr<SkRegion> shape) override; | 131 void SetShape(std::unique_ptr<SkRegion> shape) override; |
133 void Close() override; | 132 void Close() override; |
134 void CloseNow() override; | 133 void CloseNow() override; |
135 void Show() override; | 134 void Show() override; |
136 void Hide() override; | 135 void Hide() override; |
137 void ShowMaximizedWithBounds(const gfx::Rect& restored_bounds) override; | 136 void ShowMaximizedWithBounds(const gfx::Rect& restored_bounds) override; |
138 void ShowWithWindowState(ui::WindowShowState state) override; | 137 void ShowWithWindowState(ui::WindowShowState state) override; |
139 bool IsVisible() const override; | 138 bool IsVisible() const override; |
140 void Activate() override; | 139 void Activate() override; |
141 void Deactivate() override; | 140 void Deactivate() override; |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 // The following factory is used for calls to close the NativeWidgetAura | 305 // The following factory is used for calls to close the NativeWidgetAura |
307 // instance. | 306 // instance. |
308 base::WeakPtrFactory<DesktopNativeWidgetAura> close_widget_factory_; | 307 base::WeakPtrFactory<DesktopNativeWidgetAura> close_widget_factory_; |
309 | 308 |
310 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); | 309 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); |
311 }; | 310 }; |
312 | 311 |
313 } // namespace views | 312 } // namespace views |
314 | 313 |
315 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ | 314 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ |
OLD | NEW |