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

Unified Diff: views/grid_layout.cc

Issue 115957: Make DialogClientView compile on Linux. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | views/standard_layout.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/grid_layout.cc
===================================================================
--- views/grid_layout.cc (revision 17205)
+++ views/grid_layout.cc (working copy)
@@ -7,6 +7,7 @@
#include <algorithm>
#include "base/logging.h"
+#include "views/standard_layout.h"
#include "views/view.h"
namespace views {
@@ -1011,3 +1012,11 @@
}
} // namespace views
+
+views::GridLayout* CreatePanelGridLayout(views::View* host) {
+ views::GridLayout* layout = new views::GridLayout(host);
+ layout->SetInsets(kPanelVertMargin, kPanelHorizMargin,
+ kPanelVertMargin, kPanelHorizMargin);
+ return layout;
+}
+
« no previous file with comments | « no previous file | views/standard_layout.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698