OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_CONTENT_PAGE_GTK_H_ | 5 #ifndef CHROME_BROWSER_GTK_OPTIONS_CONTENT_PAGE_GTK_H_ |
6 #define CHROME_BROWSER_GTK_OPTIONS_CONTENT_PAGE_GTK_H_ | 6 #define CHROME_BROWSER_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 "app/gtk_signal.h" | 11 #include "app/gtk_signal.h" |
12 #include "chrome/browser/autofill/personal_data_manager.h" | 12 #include "chrome/browser/autofill/personal_data_manager.h" |
13 #include "chrome/browser/gtk/options/managed_prefs_banner_gtk.h" | 13 #include "chrome/browser/gtk/options/managed_prefs_banner_gtk.h" |
14 #include "chrome/browser/options_page_base.h" | 14 #include "chrome/browser/options_page_base.h" |
15 #include "chrome/browser/pref_member.h" | 15 #include "chrome/browser/prefs/pref_member.h" |
16 #include "chrome/browser/profile.h" | 16 #include "chrome/browser/profile.h" |
17 #include "chrome/browser/sync/profile_sync_service.h" | 17 #include "chrome/browser/sync/profile_sync_service.h" |
18 | 18 |
19 class ContentPageGtk : public OptionsPageBase, | 19 class ContentPageGtk : public OptionsPageBase, |
20 public ProfileSyncServiceObserver { | 20 public ProfileSyncServiceObserver { |
21 public: | 21 public: |
22 explicit ContentPageGtk(Profile* profile); | 22 explicit ContentPageGtk(Profile* profile); |
23 ~ContentPageGtk(); | 23 ~ContentPageGtk(); |
24 | 24 |
25 GtkWidget* get_page_widget() const { | 25 GtkWidget* get_page_widget() const { |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 // and NULL-ed out on destruction. | 107 // and NULL-ed out on destruction. |
108 ProfileSyncService* sync_service_; | 108 ProfileSyncService* sync_service_; |
109 | 109 |
110 // Tracks managed preference warning banner state. | 110 // Tracks managed preference warning banner state. |
111 ManagedPrefsBannerGtk managed_prefs_banner_; | 111 ManagedPrefsBannerGtk managed_prefs_banner_; |
112 | 112 |
113 DISALLOW_COPY_AND_ASSIGN(ContentPageGtk); | 113 DISALLOW_COPY_AND_ASSIGN(ContentPageGtk); |
114 }; | 114 }; |
115 | 115 |
116 #endif // CHROME_BROWSER_GTK_OPTIONS_CONTENT_PAGE_GTK_H_ | 116 #endif // CHROME_BROWSER_GTK_OPTIONS_CONTENT_PAGE_GTK_H_ |
OLD | NEW |