| 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_WM_AURA_WM_WINDOW_AURA_H_ | 5 #ifndef ASH_WM_AURA_WM_WINDOW_AURA_H_ |
| 6 #define ASH_WM_AURA_WM_WINDOW_AURA_H_ | 6 #define ASH_WM_AURA_WM_WINDOW_AURA_H_ |
| 7 | 7 |
| 8 #include "ash/wm/common/wm_window.h" | 8 #include "ash/wm/common/wm_window.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "base/observer_list.h" | 10 #include "base/observer_list.h" |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 const gfx::Rect& GetBounds() const override; | 82 const gfx::Rect& GetBounds() const override; |
| 83 gfx::Rect GetTargetBounds() override; | 83 gfx::Rect GetTargetBounds() override; |
| 84 void ClearRestoreBounds() override; | 84 void ClearRestoreBounds() override; |
| 85 void SetRestoreBoundsInScreen(const gfx::Rect& bounds) override; | 85 void SetRestoreBoundsInScreen(const gfx::Rect& bounds) override; |
| 86 gfx::Rect GetRestoreBoundsInScreen() const override; | 86 gfx::Rect GetRestoreBoundsInScreen() const override; |
| 87 void OnWMEvent(const wm::WMEvent* event) override; | 87 void OnWMEvent(const wm::WMEvent* event) override; |
| 88 bool Contains(const WmWindow* other) const override; | 88 bool Contains(const WmWindow* other) const override; |
| 89 void SetShowState(ui::WindowShowState show_state) override; | 89 void SetShowState(ui::WindowShowState show_state) override; |
| 90 ui::WindowShowState GetShowState() const override; | 90 ui::WindowShowState GetShowState() const override; |
| 91 void SetRestoreShowState(ui::WindowShowState show_state) override; | 91 void SetRestoreShowState(ui::WindowShowState show_state) override; |
| 92 void SetLockedToRoot(bool value) override; |
| 92 void SetCapture() override; | 93 void SetCapture() override; |
| 93 bool HasCapture() override; | 94 bool HasCapture() override; |
| 94 void ReleaseCapture() override; | 95 void ReleaseCapture() override; |
| 95 bool HasRestoreBounds() const override; | 96 bool HasRestoreBounds() const override; |
| 96 bool CanMaximize() const override; | 97 bool CanMaximize() const override; |
| 97 bool CanMinimize() const override; | 98 bool CanMinimize() const override; |
| 98 bool CanResize() const override; | 99 bool CanResize() const override; |
| 99 bool CanActivate() const override; | 100 bool CanActivate() const override; |
| 100 void StackChildAtTop(WmWindow* child) override; | 101 void StackChildAtTop(WmWindow* child) override; |
| 101 void StackChildAtBottom(WmWindow* child) override; | 102 void StackChildAtBottom(WmWindow* child) override; |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 | 135 |
| 135 base::ObserverList<WmWindowObserver> observers_; | 136 base::ObserverList<WmWindowObserver> observers_; |
| 136 | 137 |
| 137 DISALLOW_COPY_AND_ASSIGN(WmWindowAura); | 138 DISALLOW_COPY_AND_ASSIGN(WmWindowAura); |
| 138 }; | 139 }; |
| 139 | 140 |
| 140 } // namespace wm | 141 } // namespace wm |
| 141 } // namespace ash | 142 } // namespace ash |
| 142 | 143 |
| 143 #endif // ASH_WM_AURA_WM_WINDOW_AURA_H_ | 144 #endif // ASH_WM_AURA_WM_WINDOW_AURA_H_ |
| OLD | NEW |