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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 void GetWindowPlacement(gfx::Rect* bounds, | 125 void GetWindowPlacement(gfx::Rect* bounds, |
126 ui::WindowShowState* maximized) const override; | 126 ui::WindowShowState* maximized) const override; |
127 bool SetWindowTitle(const base::string16& title) override; | 127 bool SetWindowTitle(const base::string16& title) override; |
128 void SetWindowIcons(const gfx::ImageSkia& window_icon, | 128 void SetWindowIcons(const gfx::ImageSkia& window_icon, |
129 const gfx::ImageSkia& app_icon) override; | 129 const gfx::ImageSkia& app_icon) override; |
130 void InitModalType(ui::ModalType modal_type) override; | 130 void InitModalType(ui::ModalType modal_type) override; |
131 gfx::Rect GetWindowBoundsInScreen() const override; | 131 gfx::Rect GetWindowBoundsInScreen() const override; |
132 gfx::Rect GetClientAreaBoundsInScreen() const override; | 132 gfx::Rect GetClientAreaBoundsInScreen() const override; |
133 gfx::Rect GetRestoredBounds() const override; | 133 gfx::Rect GetRestoredBounds() const override; |
134 std::string GetWorkspace() const override; | 134 std::string GetWorkspace() const override; |
135 void SetBounds(const gfx::Rect& bounds) override; | 135 void SetBounds(const gfx::Rect& bounds_in_screen) override; |
136 void SetSize(const gfx::Size& size) override; | 136 void SetSize(const gfx::Size& size) override; |
137 void StackAbove(gfx::NativeView native_view) override; | 137 void StackAbove(gfx::NativeView native_view) override; |
138 void StackAtTop() override; | 138 void StackAtTop() override; |
139 void StackBelow(gfx::NativeView native_view) override; | 139 void StackBelow(gfx::NativeView native_view) override; |
140 void SetShape(std::unique_ptr<SkRegion> shape) override; | 140 void SetShape(std::unique_ptr<SkRegion> shape) override; |
141 void Close() override; | 141 void Close() override; |
142 void CloseNow() override; | 142 void CloseNow() override; |
143 void Show() override; | 143 void Show() override; |
144 void Hide() override; | 144 void Hide() override; |
145 void ShowMaximizedWithBounds(const gfx::Rect& restored_bounds) override; | 145 void ShowMaximizedWithBounds(const gfx::Rect& restored_bounds) override; |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 std::unique_ptr<wm::CursorManager> cursor_manager_; | 282 std::unique_ptr<wm::CursorManager> cursor_manager_; |
283 | 283 |
284 base::WeakPtrFactory<NativeWidgetMus> close_widget_factory_; | 284 base::WeakPtrFactory<NativeWidgetMus> close_widget_factory_; |
285 | 285 |
286 DISALLOW_COPY_AND_ASSIGN(NativeWidgetMus); | 286 DISALLOW_COPY_AND_ASSIGN(NativeWidgetMus); |
287 }; | 287 }; |
288 | 288 |
289 } // namespace views | 289 } // namespace views |
290 | 290 |
291 #endif // UI_VIEWS_MUS_NATIVE_WIDGET_MUS_H_ | 291 #endif // UI_VIEWS_MUS_NATIVE_WIDGET_MUS_H_ |
OLD | NEW |