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_LAYOUT_MANAGER_H_ | 5 #ifndef ASH_COMMON_WM_LAYOUT_MANAGER_H_ |
6 #define ASH_WM_LAYOUT_MANAGER_H_ | 6 #define ASH_COMMON_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 | 15 |
16 class WmWindow; | 16 class WmWindow; |
(...skipping 28 matching lines...) Expand all Loading... |
45 // Invoked when WmWindow::SetBounds() is called on |child|. This allows the | 45 // Invoked when WmWindow::SetBounds() is called on |child|. This allows the |
46 // WmLayoutManager to modify the bounds as appropriate before processing the | 46 // WmLayoutManager to modify the bounds as appropriate before processing the |
47 // request, including ignoring the request. Implementation must call | 47 // request, including ignoring the request. Implementation must call |
48 // SetChildBoundsDirect() so that an infinite loop does not result. | 48 // SetChildBoundsDirect() so that an infinite loop does not result. |
49 virtual void SetChildBounds(WmWindow* child, | 49 virtual void SetChildBounds(WmWindow* child, |
50 const gfx::Rect& requested_bounds) = 0; | 50 const gfx::Rect& requested_bounds) = 0; |
51 }; | 51 }; |
52 | 52 |
53 } // namespace ash | 53 } // namespace ash |
54 | 54 |
55 #endif // ASH_WM_LAYOUT_MANAGER_H_ | 55 #endif // ASH_COMMON_WM_LAYOUT_MANAGER_H_ |
OLD | NEW |