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

Unified Diff: views/grid_layout.h

Issue 6384002: views: Make CreatePanelGridLayout a static method of GridLayout class. (Closed)
Patch Set: fix trybots Created 9 years, 11 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 | « views/controls/message_box_view.cc ('k') | views/grid_layout.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/grid_layout.h
diff --git a/views/grid_layout.h b/views/grid_layout.h
index a1574ced7ce46bc5b4d04d9b733179b24f88066d..bfbfa64047f37aca8ccf6255ebc7a692760f9d9b 100644
--- a/views/grid_layout.h
+++ b/views/grid_layout.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -105,6 +105,9 @@ class GridLayout : public LayoutManager {
explicit GridLayout(View* host);
virtual ~GridLayout();
+ // Creates a GridLayout with kPanel*Margin insets.
+ static GridLayout* CreatePanel(View* host);
+
// Sets the insets. All views are placed relative to these offsets.
void SetInsets(int top, int left, int bottom, int right);
void SetInsets(const gfx::Insets& insets);
« no previous file with comments | « views/controls/message_box_view.cc ('k') | views/grid_layout.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698