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_COMMON_WM_LAYOUT_MANAGER_H_ | 5 #ifndef ASH_COMMON_WM_WM_LAYOUT_MANAGER_H_ |
6 #define ASH_WM_COMMON_WM_LAYOUT_MANAGER_H_ | 6 #define ASH_COMMON_WM_WM_LAYOUT_MANAGER_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 | 9 |
10 namespace gfx { | 10 namespace gfx { |
11 class Rect; | 11 class Rect; |
12 } | 12 } |
13 | 13 |
14 namespace ash { | 14 namespace ash { |
15 namespace wm { | 15 namespace wm { |
16 | 16 |
(...skipping 30 matching lines...) Expand all Loading... |
47 // WmLayoutManager to modify the bounds as appropriate before processing the | 47 // WmLayoutManager to modify the bounds as appropriate before processing the |
48 // request, including ignoring the request. Implementation must call | 48 // request, including ignoring the request. Implementation must call |
49 // SetChildBoundsDirect() so that an infinite loop does not result. | 49 // SetChildBoundsDirect() so that an infinite loop does not result. |
50 virtual void SetChildBounds(WmWindow* child, | 50 virtual void SetChildBounds(WmWindow* child, |
51 const gfx::Rect& requested_bounds) = 0; | 51 const gfx::Rect& requested_bounds) = 0; |
52 }; | 52 }; |
53 | 53 |
54 } // namespace wm | 54 } // namespace wm |
55 } // namespace ash | 55 } // namespace ash |
56 | 56 |
57 #endif // ASH_WM_COMMON_WM_LAYOUT_MANAGER_H_ | 57 #endif // ASH_COMMON_WM_WM_LAYOUT_MANAGER_H_ |
OLD | NEW |