OLD | NEW |
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_CHROMEOS_SETTINGS_PAGE_VIEW_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_SETTINGS_PAGE_VIEW_H_ |
6 #define CHROME_BROWSER_CHROMEOS_SETTINGS_PAGE_VIEW_H_ | 6 #define CHROME_BROWSER_CHROMEOS_SETTINGS_PAGE_VIEW_H_ |
7 | 7 |
| 8 #include <gtk/gtk.h> |
| 9 |
8 #include "chrome/browser/views/options/options_page_view.h" | 10 #include "chrome/browser/views/options/options_page_view.h" |
9 | 11 |
10 #include <gtk/gtk.h> | 12 class SettingsContentsView; |
11 | 13 |
12 // Settings page for Chrome OS. | 14 // Settings page for Chrome OS. |
13 class SettingsPageView : public OptionsPageView { | 15 class SettingsPageView : public OptionsPageView { |
14 public: | 16 public: |
15 explicit SettingsPageView(Profile* profile); | 17 explicit SettingsPageView(Profile* profile); |
16 | 18 |
17 // Wraps the SettingsPageView in a GtkWidget and returns it. It's up to the | 19 // Wraps the SettingsPageView in a GtkWidget and returns it. It's up to the |
18 // caller to delete (unref) the returned widget, which in turn deletes this | 20 // caller to delete (unref) the returned widget, which in turn deletes this |
19 // SettingsPageView. | 21 // SettingsPageView. |
20 GtkWidget* WrapInGtkWidget(); | 22 GtkWidget* WrapInGtkWidget(); |
21 | 23 |
22 protected: | 24 protected: |
23 virtual void InitControlLayout(); | 25 virtual void InitControlLayout(); |
24 | 26 |
25 private: | 27 private: |
| 28 // Controls for the Settings page |
| 29 SettingsContentsView* settings_contents_view_; |
| 30 |
26 DISALLOW_COPY_AND_ASSIGN(SettingsPageView); | 31 DISALLOW_COPY_AND_ASSIGN(SettingsPageView); |
27 }; | 32 }; |
28 | 33 |
29 #endif // CHROME_BROWSER_CHROMEOS_SETTINGS_PAGE_VIEW_H_ | 34 #endif // CHROME_BROWSER_CHROMEOS_SETTINGS_PAGE_VIEW_H_ |
OLD | NEW |