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

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

Issue 2485083003: views: add layout delegates (Closed)
Patch Set: fix msvc compile Created 4 years, 1 month 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
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/harmony/layout_delegate.cc ('k') | chrome/browser/ui/views/layout_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698