| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <gtk/gtk.h> | 9 #include "chrome/browser/ui/gtk/options/advanced_contents_gtk.h" |
| 10 | 10 // TODO(msw): remove this file once all includes have been updated. |
| 11 #include "base/basictypes.h" | |
| 12 #include "base/scoped_ptr.h" | |
| 13 | |
| 14 class Profile; | |
| 15 class DownloadSection; | |
| 16 class NetworkSection; | |
| 17 class PrivacySection; | |
| 18 class SecuritySection; | |
| 19 class TranslateSection; | |
| 20 class WebContentSection; | |
| 21 | |
| 22 class AdvancedContentsGtk { | |
| 23 public: | |
| 24 explicit AdvancedContentsGtk(Profile* profile); | |
| 25 virtual ~AdvancedContentsGtk(); | |
| 26 | |
| 27 GtkWidget* get_page_widget() const { | |
| 28 return page_; | |
| 29 } | |
| 30 | |
| 31 private: | |
| 32 void Init(); | |
| 33 | |
| 34 // The profile. | |
| 35 Profile* profile_; | |
| 36 | |
| 37 // The sections of the page. | |
| 38 scoped_ptr<DownloadSection> download_section_; | |
| 39 scoped_ptr<NetworkSection> network_section_; | |
| 40 scoped_ptr<TranslateSection> translate_section_; | |
| 41 scoped_ptr<PrivacySection> privacy_section_; | |
| 42 scoped_ptr<SecuritySection> security_section_; | |
| 43 scoped_ptr<WebContentSection> web_content_section_; | |
| 44 | |
| 45 // The widget containing the advanced options sections. | |
| 46 GtkWidget* page_; | |
| 47 | |
| 48 DISALLOW_COPY_AND_ASSIGN(AdvancedContentsGtk); | |
| 49 }; | |
| 50 | 11 |
| 51 #endif // CHROME_BROWSER_GTK_OPTIONS_ADVANCED_CONTENTS_GTK_H_ | 12 #endif // CHROME_BROWSER_GTK_OPTIONS_ADVANCED_CONTENTS_GTK_H_ |
| OLD | NEW |