| 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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 void Hide() override; | 151 void Hide() override; |
| 152 void ShowMaximizedWithBounds(const gfx::Rect& restored_bounds) override; | 152 void ShowMaximizedWithBounds(const gfx::Rect& restored_bounds) override; |
| 153 void ShowWithWindowState(ui::WindowShowState state) override; | 153 void ShowWithWindowState(ui::WindowShowState state) override; |
| 154 bool IsVisible() const override; | 154 bool IsVisible() const override; |
| 155 void Activate() override; | 155 void Activate() override; |
| 156 void Deactivate() override; | 156 void Deactivate() override; |
| 157 bool IsActive() const override; | 157 bool IsActive() const override; |
| 158 void SetAlwaysOnTop(bool always_on_top) override; | 158 void SetAlwaysOnTop(bool always_on_top) override; |
| 159 bool IsAlwaysOnTop() const override; | 159 bool IsAlwaysOnTop() const override; |
| 160 void SetVisibleOnAllWorkspaces(bool always_visible) override; | 160 void SetVisibleOnAllWorkspaces(bool always_visible) override; |
| 161 bool IsVisibleOnAllWorkspaces() const override; |
| 161 void Maximize() override; | 162 void Maximize() override; |
| 162 void Minimize() override; | 163 void Minimize() override; |
| 163 bool IsMaximized() const override; | 164 bool IsMaximized() const override; |
| 164 bool IsMinimized() const override; | 165 bool IsMinimized() const override; |
| 165 void Restore() override; | 166 void Restore() override; |
| 166 void SetFullscreen(bool fullscreen) override; | 167 void SetFullscreen(bool fullscreen) override; |
| 167 bool IsFullscreen() const override; | 168 bool IsFullscreen() const override; |
| 168 void SetOpacity(float opacity) override; | 169 void SetOpacity(float opacity) override; |
| 169 void FlashFrame(bool flash_frame) override; | 170 void FlashFrame(bool flash_frame) override; |
| 170 void RunShellDrag(View* view, | 171 void RunShellDrag(View* view, |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 287 std::unique_ptr<ui::ViewProp> prop_; | 288 std::unique_ptr<ui::ViewProp> prop_; |
| 288 | 289 |
| 289 base::WeakPtrFactory<NativeWidgetMus> close_widget_factory_; | 290 base::WeakPtrFactory<NativeWidgetMus> close_widget_factory_; |
| 290 | 291 |
| 291 DISALLOW_COPY_AND_ASSIGN(NativeWidgetMus); | 292 DISALLOW_COPY_AND_ASSIGN(NativeWidgetMus); |
| 292 }; | 293 }; |
| 293 | 294 |
| 294 } // namespace views | 295 } // namespace views |
| 295 | 296 |
| 296 #endif // UI_VIEWS_MUS_NATIVE_WIDGET_MUS_H_ | 297 #endif // UI_VIEWS_MUS_NATIVE_WIDGET_MUS_H_ |
| OLD | NEW |