| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_UI_VIEWS_LAYOUT_UTILS_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_LAYOUT_UTILS_H_ |
| 7 |
| 8 namespace views { |
| 9 class GridLayout; |
| 10 class View; |
| 11 } // namespace views |
| 12 |
| 13 namespace layout_utils { |
| 14 |
| 15 // Creates a panel GridLayout for |host|. A panel layout has specific insets |
| 16 // applied to make it appropriate for use in a dialog or bubble. This function |
| 17 // sets the layout manager of |host| to the returned GridLayout. |
| 18 views::GridLayout* CreatePanelLayout(views::View* host); |
| 19 |
| 20 } // namespace layout_utils |
| 21 |
| 22 #endif // CHROME_BROWSER_UI_VIEWS_LAYOUT_UTILS_H_ |
| OLD | NEW |