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_WM_WINDOW_RESIZER_H_ | 5 #ifndef ASH_WM_WINDOW_RESIZER_H_ |
6 #define ASH_WM_WINDOW_RESIZER_H_ | 6 #define ASH_WM_WINDOW_RESIZER_H_ |
7 #pragma once | |
8 | 7 |
9 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
10 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
11 #include "ui/gfx/rect.h" | 10 #include "ui/gfx/rect.h" |
12 | 11 |
13 namespace aura { | 12 namespace aura { |
14 class Window; | 13 class Window; |
15 } | 14 } |
16 | 15 |
17 namespace ash { | 16 namespace ash { |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 // Returns the height of the drag. | 122 // Returns the height of the drag. |
124 static int GetHeightForDrag(const Details& details, | 123 static int GetHeightForDrag(const Details& details, |
125 int min_height, | 124 int min_height, |
126 int* delta_y, | 125 int* delta_y, |
127 int grid_size); | 126 int grid_size); |
128 }; | 127 }; |
129 | 128 |
130 } // namespace aura | 129 } // namespace aura |
131 | 130 |
132 #endif // ASH_WM_WINDOW_RESIZER_H_ | 131 #endif // ASH_WM_WINDOW_RESIZER_H_ |
OLD | NEW |