| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 ASH_AURA_WM_WINDOW_AURA_H_ | 5 #ifndef ASH_AURA_WM_WINDOW_AURA_H_ |
| 6 #define ASH_AURA_WM_WINDOW_AURA_H_ | 6 #define ASH_AURA_WM_WINDOW_AURA_H_ |
| 7 | 7 |
| 8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 #include "ash/common/wm_window.h" | 9 #include "ash/common/wm_window.h" |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 gfx::Rect GetBoundsInScreen() const override; | 104 gfx::Rect GetBoundsInScreen() const override; |
| 105 const gfx::Rect& GetBounds() const override; | 105 const gfx::Rect& GetBounds() const override; |
| 106 gfx::Rect GetTargetBounds() override; | 106 gfx::Rect GetTargetBounds() override; |
| 107 void ClearRestoreBounds() override; | 107 void ClearRestoreBounds() override; |
| 108 void SetRestoreBoundsInScreen(const gfx::Rect& bounds) override; | 108 void SetRestoreBoundsInScreen(const gfx::Rect& bounds) override; |
| 109 gfx::Rect GetRestoreBoundsInScreen() const override; | 109 gfx::Rect GetRestoreBoundsInScreen() const override; |
| 110 bool Contains(const WmWindow* other) const override; | 110 bool Contains(const WmWindow* other) const override; |
| 111 void SetShowState(ui::WindowShowState show_state) override; | 111 void SetShowState(ui::WindowShowState show_state) override; |
| 112 ui::WindowShowState GetShowState() const override; | 112 ui::WindowShowState GetShowState() const override; |
| 113 void SetRestoreShowState(ui::WindowShowState show_state) override; | 113 void SetRestoreShowState(ui::WindowShowState show_state) override; |
| 114 void SetRestoreOverrides(const gfx::Rect& bounds_override, |
| 115 ui::WindowShowState window_state_override) override; |
| 114 void SetLockedToRoot(bool value) override; | 116 void SetLockedToRoot(bool value) override; |
| 115 void SetCapture() override; | 117 void SetCapture() override; |
| 116 bool HasCapture() override; | 118 bool HasCapture() override; |
| 117 void ReleaseCapture() override; | 119 void ReleaseCapture() override; |
| 118 bool HasRestoreBounds() const override; | 120 bool HasRestoreBounds() const override; |
| 119 bool CanMaximize() const override; | 121 bool CanMaximize() const override; |
| 120 bool CanMinimize() const override; | 122 bool CanMinimize() const override; |
| 121 bool CanResize() const override; | 123 bool CanResize() const override; |
| 122 bool CanActivate() const override; | 124 bool CanActivate() const override; |
| 123 void StackChildAtTop(WmWindow* child) override; | 125 void StackChildAtTop(WmWindow* child) override; |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 aura::Window* window_; | 172 aura::Window* window_; |
| 171 | 173 |
| 172 base::ObserverList<WmWindowObserver> observers_; | 174 base::ObserverList<WmWindowObserver> observers_; |
| 173 | 175 |
| 174 DISALLOW_COPY_AND_ASSIGN(WmWindowAura); | 176 DISALLOW_COPY_AND_ASSIGN(WmWindowAura); |
| 175 }; | 177 }; |
| 176 | 178 |
| 177 } // namespace ash | 179 } // namespace ash |
| 178 | 180 |
| 179 #endif // ASH_AURA_WM_WINDOW_AURA_H_ | 181 #endif // ASH_AURA_WM_WINDOW_AURA_H_ |
| OLD | NEW |