diff options
Diffstat (limited to 'chrome/browser/gtk/options/options_layout_gtk.h')
-rw-r--r-- | chrome/browser/gtk/options/options_layout_gtk.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/chrome/browser/gtk/options/options_layout_gtk.h b/chrome/browser/gtk/options/options_layout_gtk.h index c4fedc6..0d397c0 100644 --- a/chrome/browser/gtk/options/options_layout_gtk.h +++ b/chrome/browser/gtk/options/options_layout_gtk.h @@ -18,12 +18,17 @@ class OptionsLayoutBuilderGtk { return page_; } - // Adds an option group to the table. Handles layout and the placing of - // separators between groups. If expandable is true, the content widget will - // be allowed to expand and fill any extra space when the dialog is resized. + // Adds an option group to the table. Handles layout and labels the group + // with the given title. If expandable is true, the content widget will be + // allowed to expand and fill any extra space when the dialog is resized. void AddOptionGroup(const std::string& title, GtkWidget* content, bool expandable); + // Adds a widget without title or special layout. If expandable is true, the + // content widget will be allowed to expand and fill any extra space when the + // dialog is resized. + void AddWidget(GtkWidget* content, bool expandable); + private: // The parent widget GtkWidget* page_; |