OLD | NEW |
1 // Copyright (c) 2011 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_UI_GTK_OPTIONS_CONTENT_PAGE_GTK_H_ | 5 #ifndef CHROME_BROWSER_UI_GTK_OPTIONS_CONTENT_PAGE_GTK_H_ |
6 #define CHROME_BROWSER_UI_GTK_OPTIONS_CONTENT_PAGE_GTK_H_ | 6 #define CHROME_BROWSER_UI_GTK_OPTIONS_CONTENT_PAGE_GTK_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
10 | 10 |
11 #include <string> | 11 #include <string> |
12 | 12 |
13 #include "app/gtk_signal.h" | |
14 #include "chrome/browser/autofill/personal_data_manager.h" | 13 #include "chrome/browser/autofill/personal_data_manager.h" |
15 #include "chrome/browser/prefs/pref_member.h" | 14 #include "chrome/browser/prefs/pref_member.h" |
16 #include "chrome/browser/sync/profile_sync_service.h" | 15 #include "chrome/browser/sync/profile_sync_service.h" |
17 #include "chrome/browser/ui/gtk/options/managed_prefs_banner_gtk.h" | 16 #include "chrome/browser/ui/gtk/options/managed_prefs_banner_gtk.h" |
18 #include "chrome/browser/ui/options/options_page_base.h" | 17 #include "chrome/browser/ui/options/options_page_base.h" |
| 18 #include "ui/base/gtk/gtk_signal.h" |
19 | 19 |
20 class Profile; | 20 class Profile; |
21 | 21 |
22 class ContentPageGtk : public OptionsPageBase, | 22 class ContentPageGtk : public OptionsPageBase, |
23 public ProfileSyncServiceObserver { | 23 public ProfileSyncServiceObserver { |
24 public: | 24 public: |
25 explicit ContentPageGtk(Profile* profile); | 25 explicit ContentPageGtk(Profile* profile); |
26 ~ContentPageGtk(); | 26 ~ContentPageGtk(); |
27 | 27 |
28 GtkWidget* get_page_widget() const { | 28 GtkWidget* get_page_widget() const { |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 // and NULL-ed out on destruction. | 111 // and NULL-ed out on destruction. |
112 ProfileSyncService* sync_service_; | 112 ProfileSyncService* sync_service_; |
113 | 113 |
114 // Tracks managed preference warning banner state. | 114 // Tracks managed preference warning banner state. |
115 ManagedPrefsBannerGtk managed_prefs_banner_; | 115 ManagedPrefsBannerGtk managed_prefs_banner_; |
116 | 116 |
117 DISALLOW_COPY_AND_ASSIGN(ContentPageGtk); | 117 DISALLOW_COPY_AND_ASSIGN(ContentPageGtk); |
118 }; | 118 }; |
119 | 119 |
120 #endif // CHROME_BROWSER_UI_GTK_OPTIONS_CONTENT_PAGE_GTK_H_ | 120 #endif // CHROME_BROWSER_UI_GTK_OPTIONS_CONTENT_PAGE_GTK_H_ |
OLD | NEW |