| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 const gfx::Point& point) const override; | 54 const gfx::Point& point) const override; |
| 55 gfx::Point ConvertPointToScreen(const gfx::Point& point) const override; | 55 gfx::Point ConvertPointToScreen(const gfx::Point& point) const override; |
| 56 gfx::Point ConvertPointFromScreen(const gfx::Point& point) const override; | 56 gfx::Point ConvertPointFromScreen(const gfx::Point& point) const override; |
| 57 gfx::Rect ConvertRectToScreen(const gfx::Rect& rect) const override; | 57 gfx::Rect ConvertRectToScreen(const gfx::Rect& rect) const override; |
| 58 gfx::Rect ConvertRectFromScreen(const gfx::Rect& rect) const override; | 58 gfx::Rect ConvertRectFromScreen(const gfx::Rect& rect) const override; |
| 59 gfx::Size GetMinimumSize() const override; | 59 gfx::Size GetMinimumSize() const override; |
| 60 gfx::Size GetMaximumSize() const override; | 60 gfx::Size GetMaximumSize() const override; |
| 61 bool GetTargetVisibility() const override; | 61 bool GetTargetVisibility() const override; |
| 62 bool IsVisible() const override; | 62 bool IsVisible() const override; |
| 63 bool GetBoolProperty(WmWindowProperty key) override; | 63 bool GetBoolProperty(WmWindowProperty key) override; |
| 64 int GetIntProperty(WmWindowProperty key) override; |
| 64 const WindowState* GetWindowState() const override; | 65 const WindowState* GetWindowState() const override; |
| 65 WmWindow* GetToplevelWindow() override; | 66 WmWindow* GetToplevelWindow() override; |
| 66 void SetParentUsingContext(WmWindow* context, | 67 void SetParentUsingContext(WmWindow* context, |
| 67 const gfx::Rect& screen_bounds) override; | 68 const gfx::Rect& screen_bounds) override; |
| 68 void AddChild(WmWindow* window) override; | 69 void AddChild(WmWindow* window) override; |
| 69 WmWindow* GetParent() override; | 70 WmWindow* GetParent() override; |
| 70 const WmWindow* GetTransientParent() const override; | 71 const WmWindow* GetTransientParent() const override; |
| 71 std::vector<WmWindow*> GetTransientChildren() override; | 72 std::vector<WmWindow*> GetTransientChildren() override; |
| 72 void SetLayoutManager( | 73 void SetLayoutManager( |
| 73 std::unique_ptr<WmLayoutManager> layout_manager) override; | 74 std::unique_ptr<WmLayoutManager> layout_manager) override; |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 | 141 |
| 141 base::ObserverList<WmWindowObserver> observers_; | 142 base::ObserverList<WmWindowObserver> observers_; |
| 142 | 143 |
| 143 DISALLOW_COPY_AND_ASSIGN(WmWindowAura); | 144 DISALLOW_COPY_AND_ASSIGN(WmWindowAura); |
| 144 }; | 145 }; |
| 145 | 146 |
| 146 } // namespace wm | 147 } // namespace wm |
| 147 } // namespace ash | 148 } // namespace ash |
| 148 | 149 |
| 149 #endif // ASH_WM_AURA_WM_WINDOW_AURA_H_ | 150 #endif // ASH_WM_AURA_WM_WINDOW_AURA_H_ |
| OLD | NEW |