OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_MUS_NATIVE_WIDGET_MUS_H_ | 5 #ifndef UI_VIEWS_MUS_NATIVE_WIDGET_MUS_H_ |
6 #define UI_VIEWS_MUS_NATIVE_WIDGET_MUS_H_ | 6 #define UI_VIEWS_MUS_NATIVE_WIDGET_MUS_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 const gfx::ImageSkia& app_icon) override; | 135 const gfx::ImageSkia& app_icon) override; |
136 void InitModalType(ui::ModalType modal_type) override; | 136 void InitModalType(ui::ModalType modal_type) override; |
137 gfx::Rect GetWindowBoundsInScreen() const override; | 137 gfx::Rect GetWindowBoundsInScreen() const override; |
138 gfx::Rect GetClientAreaBoundsInScreen() const override; | 138 gfx::Rect GetClientAreaBoundsInScreen() const override; |
139 gfx::Rect GetRestoredBounds() const override; | 139 gfx::Rect GetRestoredBounds() const override; |
140 std::string GetWorkspace() const override; | 140 std::string GetWorkspace() const override; |
141 void SetBounds(const gfx::Rect& bounds_in_screen) override; | 141 void SetBounds(const gfx::Rect& bounds_in_screen) override; |
142 void SetSize(const gfx::Size& size) override; | 142 void SetSize(const gfx::Size& size) override; |
143 void StackAbove(gfx::NativeView native_view) override; | 143 void StackAbove(gfx::NativeView native_view) override; |
144 void StackAtTop() override; | 144 void StackAtTop() override; |
145 void StackBelow(gfx::NativeView native_view) override; | |
146 void SetShape(std::unique_ptr<SkRegion> shape) override; | 145 void SetShape(std::unique_ptr<SkRegion> shape) override; |
147 void Close() override; | 146 void Close() override; |
148 void CloseNow() override; | 147 void CloseNow() override; |
149 void Show() override; | 148 void Show() override; |
150 void Hide() override; | 149 void Hide() override; |
151 void ShowMaximizedWithBounds(const gfx::Rect& restored_bounds) override; | 150 void ShowMaximizedWithBounds(const gfx::Rect& restored_bounds) override; |
152 void ShowWithWindowState(ui::WindowShowState state) override; | 151 void ShowWithWindowState(ui::WindowShowState state) override; |
153 bool IsVisible() const override; | 152 bool IsVisible() const override; |
154 void Activate() override; | 153 void Activate() override; |
155 void Deactivate() override; | 154 void Deactivate() override; |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 int last_drop_operation_; | 300 int last_drop_operation_; |
302 | 301 |
303 base::WeakPtrFactory<NativeWidgetMus> close_widget_factory_; | 302 base::WeakPtrFactory<NativeWidgetMus> close_widget_factory_; |
304 | 303 |
305 DISALLOW_COPY_AND_ASSIGN(NativeWidgetMus); | 304 DISALLOW_COPY_AND_ASSIGN(NativeWidgetMus); |
306 }; | 305 }; |
307 | 306 |
308 } // namespace views | 307 } // namespace views |
309 | 308 |
310 #endif // UI_VIEWS_MUS_NATIVE_WIDGET_MUS_H_ | 309 #endif // UI_VIEWS_MUS_NATIVE_WIDGET_MUS_H_ |
OLD | NEW |