| 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/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 #include "ash/wm/common/wm_window.h" | 9 #include "ash/wm/common/wm_window.h" |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 void SetBoundsDirectAnimated(const gfx::Rect& bounds) override; | 83 void SetBoundsDirectAnimated(const gfx::Rect& bounds) override; |
| 84 void SetBoundsDirectCrossFade(const gfx::Rect& bounds) override; | 84 void SetBoundsDirectCrossFade(const gfx::Rect& bounds) override; |
| 85 void SetBoundsInScreen(const gfx::Rect& bounds_in_screen, | 85 void SetBoundsInScreen(const gfx::Rect& bounds_in_screen, |
| 86 const display::Display& dst_display) override; | 86 const display::Display& dst_display) override; |
| 87 gfx::Rect GetBoundsInScreen() const override; | 87 gfx::Rect GetBoundsInScreen() const override; |
| 88 const gfx::Rect& GetBounds() const override; | 88 const gfx::Rect& GetBounds() const override; |
| 89 gfx::Rect GetTargetBounds() override; | 89 gfx::Rect GetTargetBounds() override; |
| 90 void ClearRestoreBounds() override; | 90 void ClearRestoreBounds() override; |
| 91 void SetRestoreBoundsInScreen(const gfx::Rect& bounds) override; | 91 void SetRestoreBoundsInScreen(const gfx::Rect& bounds) override; |
| 92 gfx::Rect GetRestoreBoundsInScreen() const override; | 92 gfx::Rect GetRestoreBoundsInScreen() const override; |
| 93 void OnWMEvent(const wm::WMEvent* event) override; | |
| 94 bool Contains(const WmWindow* other) const override; | 93 bool Contains(const WmWindow* other) const override; |
| 95 void SetShowState(ui::WindowShowState show_state) override; | 94 void SetShowState(ui::WindowShowState show_state) override; |
| 96 ui::WindowShowState GetShowState() const override; | 95 ui::WindowShowState GetShowState() const override; |
| 97 void SetRestoreShowState(ui::WindowShowState show_state) override; | 96 void SetRestoreShowState(ui::WindowShowState show_state) override; |
| 98 void SetLockedToRoot(bool value) override; | 97 void SetLockedToRoot(bool value) override; |
| 99 void SetCapture() override; | 98 void SetCapture() override; |
| 100 bool HasCapture() override; | 99 bool HasCapture() override; |
| 101 void ReleaseCapture() override; | 100 void ReleaseCapture() override; |
| 102 bool HasRestoreBounds() const override; | 101 bool HasRestoreBounds() const override; |
| 103 bool CanMaximize() const override; | 102 bool CanMaximize() const override; |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 | 141 |
| 143 base::ObserverList<WmWindowObserver> observers_; | 142 base::ObserverList<WmWindowObserver> observers_; |
| 144 | 143 |
| 145 DISALLOW_COPY_AND_ASSIGN(WmWindowAura); | 144 DISALLOW_COPY_AND_ASSIGN(WmWindowAura); |
| 146 }; | 145 }; |
| 147 | 146 |
| 148 } // namespace wm | 147 } // namespace wm |
| 149 } // namespace ash | 148 } // namespace ash |
| 150 | 149 |
| 151 #endif // ASH_WM_AURA_WM_WINDOW_AURA_H_ | 150 #endif // ASH_WM_AURA_WM_WINDOW_AURA_H_ |
| OLD | NEW |