Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(278)

Side by Side Diff: chrome/browser/ui/views/layout_utils.h

Issue 2779973003: views: fold layout_utils::CreatePanelLayout into GridLayout::CreatePanel (Closed)
Patch Set: remove old DEPS entry Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/ui/views/hung_renderer_view.cc ('k') | chrome/browser/ui/views/layout_utils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/hung_renderer_view.cc ('k') | chrome/browser/ui/views/layout_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698