| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ | 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ |
| 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ | 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 void Hide() override; | 136 void Hide() override; |
| 137 void ShowMaximizedWithBounds(const gfx::Rect& restored_bounds) override; | 137 void ShowMaximizedWithBounds(const gfx::Rect& restored_bounds) override; |
| 138 void ShowWithWindowState(ui::WindowShowState state) override; | 138 void ShowWithWindowState(ui::WindowShowState state) override; |
| 139 bool IsVisible() const override; | 139 bool IsVisible() const override; |
| 140 void Activate() override; | 140 void Activate() override; |
| 141 void Deactivate() override; | 141 void Deactivate() override; |
| 142 bool IsActive() const override; | 142 bool IsActive() const override; |
| 143 void SetAlwaysOnTop(bool always_on_top) override; | 143 void SetAlwaysOnTop(bool always_on_top) override; |
| 144 bool IsAlwaysOnTop() const override; | 144 bool IsAlwaysOnTop() const override; |
| 145 void SetVisibleOnAllWorkspaces(bool always_visible) override; | 145 void SetVisibleOnAllWorkspaces(bool always_visible) override; |
| 146 bool IsVisibleOnAllWorkspaces() const override; |
| 146 void Maximize() override; | 147 void Maximize() override; |
| 147 void Minimize() override; | 148 void Minimize() override; |
| 148 bool IsMaximized() const override; | 149 bool IsMaximized() const override; |
| 149 bool IsMinimized() const override; | 150 bool IsMinimized() const override; |
| 150 void Restore() override; | 151 void Restore() override; |
| 151 void SetFullscreen(bool fullscreen) override; | 152 void SetFullscreen(bool fullscreen) override; |
| 152 bool IsFullscreen() const override; | 153 bool IsFullscreen() const override; |
| 153 void SetOpacity(float opacity) override; | 154 void SetOpacity(float opacity) override; |
| 154 void FlashFrame(bool flash_frame) override; | 155 void FlashFrame(bool flash_frame) override; |
| 155 void RunShellDrag(View* view, | 156 void RunShellDrag(View* view, |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 306 // The following factory is used for calls to close the NativeWidgetAura | 307 // The following factory is used for calls to close the NativeWidgetAura |
| 307 // instance. | 308 // instance. |
| 308 base::WeakPtrFactory<DesktopNativeWidgetAura> close_widget_factory_; | 309 base::WeakPtrFactory<DesktopNativeWidgetAura> close_widget_factory_; |
| 309 | 310 |
| 310 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); | 311 DISALLOW_COPY_AND_ASSIGN(DesktopNativeWidgetAura); |
| 311 }; | 312 }; |
| 312 | 313 |
| 313 } // namespace views | 314 } // namespace views |
| 314 | 315 |
| 315 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ | 316 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_NATIVE_WIDGET_AURA_H_ |
| OLD | NEW |