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

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

Issue 149097: Add stubs for the rest of the gtk advanced options sections. Hook up the reset prefs function. (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
« no previous file with comments | « no previous file | chrome/browser/gtk/options/advanced_contents_gtk.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_GTK_OPTIONS_ADVANCED_CONTENTS_GTK_H_ 5 #ifndef CHROME_BROWSER_GTK_OPTIONS_ADVANCED_CONTENTS_GTK_H_
6 #define CHROME_BROWSER_GTK_OPTIONS_ADVANCED_CONTENTS_GTK_H_ 6 #define CHROME_BROWSER_GTK_OPTIONS_ADVANCED_CONTENTS_GTK_H_
7 7
8 #include <gtk/gtk.h> 8 #include <gtk/gtk.h>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/scoped_ptr.h" 11 #include "base/scoped_ptr.h"
12 12
13 class Profile; 13 class Profile;
14 class DownloadSection;
15 class NetworkSection;
14 class PrivacySection; 16 class PrivacySection;
17 class SecuritySection;
18 class WebContentSection;
15 19
16 class AdvancedContentsGtk { 20 class AdvancedContentsGtk {
17 public: 21 public:
18 explicit AdvancedContentsGtk(Profile* profile); 22 explicit AdvancedContentsGtk(Profile* profile);
19 virtual ~AdvancedContentsGtk(); 23 virtual ~AdvancedContentsGtk();
20 24
21 GtkWidget* get_page_widget() const { 25 GtkWidget* get_page_widget() const {
22 return page_; 26 return page_;
23 } 27 }
24 28
25 private: 29 private:
26 void Init(); 30 void Init();
27 31
28 // The profile. 32 // The profile.
29 Profile* profile_; 33 Profile* profile_;
30 34
31 // The sections of the page. 35 // The sections of the page.
36 scoped_ptr<DownloadSection> download_section_;
37 scoped_ptr<NetworkSection> network_section_;
32 scoped_ptr<PrivacySection> privacy_section_; 38 scoped_ptr<PrivacySection> privacy_section_;
39 scoped_ptr<SecuritySection> security_section_;
40 scoped_ptr<WebContentSection> web_content_section_;
33 41
34 // The widget containing the advanced options sections. 42 // The widget containing the advanced options sections.
35 GtkWidget* page_; 43 GtkWidget* page_;
36 44
37 DISALLOW_COPY_AND_ASSIGN(AdvancedContentsGtk); 45 DISALLOW_COPY_AND_ASSIGN(AdvancedContentsGtk);
38 }; 46 };
39 47
40 #endif // CHROME_BROWSER_GTK_OPTIONS_ADVANCED_CONTENTS_GTK_H_ 48 #endif // CHROME_BROWSER_GTK_OPTIONS_ADVANCED_CONTENTS_GTK_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/gtk/options/advanced_contents_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698