| 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 const gfx::ImageSkia& app_icon) override; | 87 const gfx::ImageSkia& app_icon) override; |
| 88 void InitModalType(ui::ModalType modal_type) override; | 88 void InitModalType(ui::ModalType modal_type) override; |
| 89 gfx::Rect GetWindowBoundsInScreen() const override; | 89 gfx::Rect GetWindowBoundsInScreen() const override; |
| 90 gfx::Rect GetClientAreaBoundsInScreen() const override; | 90 gfx::Rect GetClientAreaBoundsInScreen() const override; |
| 91 gfx::Rect GetRestoredBounds() const override; | 91 gfx::Rect GetRestoredBounds() const override; |
| 92 std::string GetWorkspace() const override; | 92 std::string GetWorkspace() const override; |
| 93 void SetBounds(const gfx::Rect& bounds) override; | 93 void SetBounds(const gfx::Rect& bounds) override; |
| 94 void SetSize(const gfx::Size& size) override; | 94 void SetSize(const gfx::Size& size) override; |
| 95 void StackAbove(gfx::NativeView native_view) override; | 95 void StackAbove(gfx::NativeView native_view) override; |
| 96 void StackAtTop() override; | 96 void StackAtTop() override; |
| 97 void StackBelow(gfx::NativeView native_view) override; | |
| 98 void SetShape(std::unique_ptr<SkRegion> shape) override; | 97 void SetShape(std::unique_ptr<SkRegion> shape) override; |
| 99 void Close() override; | 98 void Close() override; |
| 100 void CloseNow() override; | 99 void CloseNow() override; |
| 101 void Show() override; | 100 void Show() override; |
| 102 void Hide() override; | 101 void Hide() override; |
| 103 void ShowMaximizedWithBounds(const gfx::Rect& restored_bounds) override; | 102 void ShowMaximizedWithBounds(const gfx::Rect& restored_bounds) override; |
| 104 void ShowWithWindowState(ui::WindowShowState state) override; | 103 void ShowWithWindowState(ui::WindowShowState state) override; |
| 105 bool IsVisible() const override; | 104 bool IsVisible() const override; |
| 106 void Activate() override; | 105 void Activate() override; |
| 107 void Deactivate() override; | 106 void Deactivate() override; |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 // The following factory is used for calls to close the NativeWidgetAura | 236 // The following factory is used for calls to close the NativeWidgetAura |
| 238 // instance. | 237 // instance. |
| 239 base::WeakPtrFactory<NativeWidgetAura> close_widget_factory_; | 238 base::WeakPtrFactory<NativeWidgetAura> close_widget_factory_; |
| 240 | 239 |
| 241 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); | 240 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); |
| 242 }; | 241 }; |
| 243 | 242 |
| 244 } // namespace views | 243 } // namespace views |
| 245 | 244 |
| 246 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ | 245 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ |
| OLD | NEW |