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

Unified Diff: ui/views/layout/grid_layout.h

Issue 13925019: fix GridLayout::CreatePanel for new style dialogs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 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 side-by-side diff with in-line comments
Download patch
Index: ui/views/layout/grid_layout.h
diff --git a/ui/views/layout/grid_layout.h b/ui/views/layout/grid_layout.h
index f026eb7915f64ac60700a9e86e8c418e1ab1bbfb..58e1c10bc7276a5abc55f6af74a23b0e1e88b559 100644
--- a/ui/views/layout/grid_layout.h
+++ b/ui/views/layout/grid_layout.h
@@ -109,6 +109,8 @@ class VIEWS_EXPORT GridLayout : public LayoutManager {
void SetInsets(int top, int left, int bottom, int right);
void SetInsets(const gfx::Insets& insets);
+ const gfx::Insets& insets() { return insets_; }
msw 2013/04/16 01:58:24 I didn't see where this is used; please remove if
Evan Stade 2013/04/16 19:58:25 oh yea. Not used any more. Removed.
+
// Creates a new column set with the specified id and returns it.
// The id is later used when starting a new row.
// GridLayout takes ownership of the ColumnSet and will delete it when

Powered by Google App Engine
This is Rietveld 408576698