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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 void CenterWindow(const gfx::Size& size) override; | 73 void CenterWindow(const gfx::Size& size) override; |
74 void GetWindowPlacement(gfx::Rect* bounds, | 74 void GetWindowPlacement(gfx::Rect* bounds, |
75 ui::WindowShowState* show_state) const override; | 75 ui::WindowShowState* show_state) const override; |
76 bool SetWindowTitle(const base::string16& title) override; | 76 bool SetWindowTitle(const base::string16& title) override; |
77 void SetWindowIcons(const gfx::ImageSkia& window_icon, | 77 void SetWindowIcons(const gfx::ImageSkia& window_icon, |
78 const gfx::ImageSkia& app_icon) override; | 78 const gfx::ImageSkia& app_icon) override; |
79 void InitModalType(ui::ModalType modal_type) override; | 79 void InitModalType(ui::ModalType modal_type) override; |
80 gfx::Rect GetWindowBoundsInScreen() const override; | 80 gfx::Rect GetWindowBoundsInScreen() const override; |
81 gfx::Rect GetClientAreaBoundsInScreen() const override; | 81 gfx::Rect GetClientAreaBoundsInScreen() const override; |
82 gfx::Rect GetRestoredBounds() const override; | 82 gfx::Rect GetRestoredBounds() const override; |
| 83 std::string GetWorkspace() const override; |
83 void SetBounds(const gfx::Rect& bounds) override; | 84 void SetBounds(const gfx::Rect& bounds) override; |
84 void SetSize(const gfx::Size& size) override; | 85 void SetSize(const gfx::Size& size) override; |
85 void StackAbove(gfx::NativeView native_view) override; | 86 void StackAbove(gfx::NativeView native_view) override; |
86 void StackAtTop() override; | 87 void StackAtTop() override; |
87 void StackBelow(gfx::NativeView native_view) override; | 88 void StackBelow(gfx::NativeView native_view) override; |
88 void SetShape(SkRegion* shape) override; | 89 void SetShape(SkRegion* shape) override; |
89 void Close() override; | 90 void Close() override; |
90 void CloseNow() override; | 91 void CloseNow() override; |
91 void Show() override; | 92 void Show() override; |
92 void Hide() override; | 93 void Hide() override; |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 | 154 |
154 // Internal name. | 155 // Internal name. |
155 std::string name_; | 156 std::string name_; |
156 | 157 |
157 DISALLOW_COPY_AND_ASSIGN(NativeWidgetMac); | 158 DISALLOW_COPY_AND_ASSIGN(NativeWidgetMac); |
158 }; | 159 }; |
159 | 160 |
160 } // namespace views | 161 } // namespace views |
161 | 162 |
162 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_MAC_H_ | 163 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_MAC_H_ |
OLD | NEW |