OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_MAC_H_ | 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_MAC_H_ |
6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_MAC_H_ | 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_MAC_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "ui/gfx/native_widget_types.h" | 9 #include "ui/gfx/native_widget_types.h" |
10 #include "ui/views/widget/native_widget_private.h" | 10 #include "ui/views/widget/native_widget_private.h" |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 const gfx::ImageSkia& app_icon) override; | 76 const gfx::ImageSkia& app_icon) override; |
77 void InitModalType(ui::ModalType modal_type) override; | 77 void InitModalType(ui::ModalType modal_type) override; |
78 gfx::Rect GetWindowBoundsInScreen() const override; | 78 gfx::Rect GetWindowBoundsInScreen() const override; |
79 gfx::Rect GetClientAreaBoundsInScreen() const override; | 79 gfx::Rect GetClientAreaBoundsInScreen() const override; |
80 gfx::Rect GetRestoredBounds() const override; | 80 gfx::Rect GetRestoredBounds() const override; |
81 std::string GetWorkspace() const override; | 81 std::string GetWorkspace() const override; |
82 void SetBounds(const gfx::Rect& bounds) override; | 82 void SetBounds(const gfx::Rect& bounds) override; |
83 void SetSize(const gfx::Size& size) override; | 83 void SetSize(const gfx::Size& size) override; |
84 void StackAbove(gfx::NativeView native_view) override; | 84 void StackAbove(gfx::NativeView native_view) override; |
85 void StackAtTop() override; | 85 void StackAtTop() override; |
86 void StackBelow(gfx::NativeView native_view) override; | |
87 void SetShape(std::unique_ptr<SkRegion> shape) override; | 86 void SetShape(std::unique_ptr<SkRegion> shape) override; |
88 void Close() override; | 87 void Close() override; |
89 void CloseNow() override; | 88 void CloseNow() override; |
90 void Show() override; | 89 void Show() override; |
91 void Hide() override; | 90 void Hide() override; |
92 void ShowMaximizedWithBounds(const gfx::Rect& restored_bounds) override; | 91 void ShowMaximizedWithBounds(const gfx::Rect& restored_bounds) override; |
93 void ShowWithWindowState(ui::WindowShowState state) override; | 92 void ShowWithWindowState(ui::WindowShowState state) override; |
94 bool IsVisible() const override; | 93 bool IsVisible() const override; |
95 void Activate() override; | 94 void Activate() override; |
96 void Deactivate() override; | 95 void Deactivate() override; |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 | 152 |
154 // Internal name. | 153 // Internal name. |
155 std::string name_; | 154 std::string name_; |
156 | 155 |
157 DISALLOW_COPY_AND_ASSIGN(NativeWidgetMac); | 156 DISALLOW_COPY_AND_ASSIGN(NativeWidgetMac); |
158 }; | 157 }; |
159 | 158 |
160 } // namespace views | 159 } // namespace views |
161 | 160 |
162 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_MAC_H_ | 161 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_MAC_H_ |
OLD | NEW |