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

Side by Side Diff: chrome/browser/gtk/options/options_layout_gtk.h

Issue 113967: Add general options page. Options are working with the following exceptions: (Closed)
Patch Set: Created 11 years, 6 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_GTK_OPTIONS_OPTIONS_LAYOUT_GTK_H_
6 #define CHROME_BROWSER_GTK_OPTIONS_OPTIONS_LAYOUT_GTK_H_
7
8 #include <gtk/gtk.h>
9 #include <string>
10
11 #include "base/basictypes.h"
12
13 class OptionsLayoutBuilderGtk {
14 public:
15 explicit OptionsLayoutBuilderGtk(int num_rows);
16
17 GtkWidget* get_page_widget() {
18 return page_;
19 }
20
21 // Adds an option group to the table. Handles layout and the placing of
22 // separators between groups.
23 void AddOptionGroup(const std::string& title, GtkWidget* content);
24
25 private:
26 // The parent widget
27 GtkWidget* page_;
28
29 DISALLOW_COPY_AND_ASSIGN(OptionsLayoutBuilderGtk);
30 };
31
32 #endif // CHROME_BROWSER_GTK_OPTIONS_OPTIONS_LAYOUT_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/gtk/options/general_page_gtk.cc ('k') | chrome/browser/gtk/options/options_layout_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698