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); |