| 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 ASH_COMMON_WM_WINDOW_RESIZER_H_ | 5 #ifndef ASH_WM_WINDOW_RESIZER_H_ |
| 6 #define ASH_COMMON_WM_WINDOW_RESIZER_H_ | 6 #define ASH_WM_WINDOW_RESIZER_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "ash/ash_export.h" | 10 #include "ash/ash_export.h" |
| 11 #include "ash/common/wm/drag_details.h" | 11 #include "ash/wm/drag_details.h" |
| 12 #include "ash/common/wm/window_state.h" | 12 #include "ash/wm/window_state.h" |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "ui/wm/public/window_move_client.h" | 14 #include "ui/wm/public/window_move_client.h" |
| 15 | 15 |
| 16 namespace gfx { | 16 namespace gfx { |
| 17 class Rect; | 17 class Rect; |
| 18 } | 18 } |
| 19 | 19 |
| 20 namespace ash { | 20 namespace ash { |
| 21 | 21 |
| 22 class WmWindow; | 22 class WmWindow; |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 // Creates a WindowResizer for |window|. Returns a unique_ptr with null if | 100 // Creates a WindowResizer for |window|. Returns a unique_ptr with null if |
| 101 // |window| should not be resized nor dragged. | 101 // |window| should not be resized nor dragged. |
| 102 ASH_EXPORT std::unique_ptr<WindowResizer> CreateWindowResizer( | 102 ASH_EXPORT std::unique_ptr<WindowResizer> CreateWindowResizer( |
| 103 WmWindow* window, | 103 WmWindow* window, |
| 104 const gfx::Point& point_in_parent, | 104 const gfx::Point& point_in_parent, |
| 105 int window_component, | 105 int window_component, |
| 106 aura::client::WindowMoveSource source); | 106 aura::client::WindowMoveSource source); |
| 107 | 107 |
| 108 } // namespace ash | 108 } // namespace ash |
| 109 | 109 |
| 110 #endif // ASH_COMMON_WM_WINDOW_RESIZER_H_ | 110 #endif // ASH_WM_WINDOW_RESIZER_H_ |
| OLD | NEW |