| 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_NATIVE_WIDGET_AURA_H_ | 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ |
| 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ | 6 #define UI_VIEWS_WIDGET_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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 void Hide() override; | 96 void Hide() override; |
| 97 void ShowMaximizedWithBounds(const gfx::Rect& restored_bounds) override; | 97 void ShowMaximizedWithBounds(const gfx::Rect& restored_bounds) override; |
| 98 void ShowWithWindowState(ui::WindowShowState state) override; | 98 void ShowWithWindowState(ui::WindowShowState state) override; |
| 99 bool IsVisible() const override; | 99 bool IsVisible() const override; |
| 100 void Activate() override; | 100 void Activate() override; |
| 101 void Deactivate() override; | 101 void Deactivate() override; |
| 102 bool IsActive() const override; | 102 bool IsActive() const override; |
| 103 void SetAlwaysOnTop(bool always_on_top) override; | 103 void SetAlwaysOnTop(bool always_on_top) override; |
| 104 bool IsAlwaysOnTop() const override; | 104 bool IsAlwaysOnTop() const override; |
| 105 void SetVisibleOnAllWorkspaces(bool always_visible) override; | 105 void SetVisibleOnAllWorkspaces(bool always_visible) override; |
| 106 bool IsVisibleOnAllWorkspaces() const override; |
| 106 void Maximize() override; | 107 void Maximize() override; |
| 107 void Minimize() override; | 108 void Minimize() override; |
| 108 bool IsMaximized() const override; | 109 bool IsMaximized() const override; |
| 109 bool IsMinimized() const override; | 110 bool IsMinimized() const override; |
| 110 void Restore() override; | 111 void Restore() override; |
| 111 void SetFullscreen(bool fullscreen) override; | 112 void SetFullscreen(bool fullscreen) override; |
| 112 bool IsFullscreen() const override; | 113 bool IsFullscreen() const override; |
| 113 void SetOpacity(float opacity) override; | 114 void SetOpacity(float opacity) override; |
| 114 void FlashFrame(bool flash_frame) override; | 115 void FlashFrame(bool flash_frame) override; |
| 115 void RunShellDrag(View* view, | 116 void RunShellDrag(View* view, |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 229 // The following factory is used for calls to close the NativeWidgetAura | 230 // The following factory is used for calls to close the NativeWidgetAura |
| 230 // instance. | 231 // instance. |
| 231 base::WeakPtrFactory<NativeWidgetAura> close_widget_factory_; | 232 base::WeakPtrFactory<NativeWidgetAura> close_widget_factory_; |
| 232 | 233 |
| 233 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); | 234 DISALLOW_COPY_AND_ASSIGN(NativeWidgetAura); |
| 234 }; | 235 }; |
| 235 | 236 |
| 236 } // namespace views | 237 } // namespace views |
| 237 | 238 |
| 238 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ | 239 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_AURA_H_ |
| OLD | NEW |