| 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" | |
| 15 #include "chrome/browser/prefs/pref_member.h" | 14 #include "chrome/browser/prefs/pref_member.h" |
| 16 #include "chrome/browser/profile.h" | 15 #include "chrome/browser/profile.h" |
| 17 #include "chrome/browser/sync/profile_sync_service.h" | 16 #include "chrome/browser/sync/profile_sync_service.h" |
| 17 #include "chrome/browser/ui/options/options_page_base.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 { |
| 26 return page_; | 26 return page_; |
| 27 } | 27 } |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 // and NULL-ed out on destruction. | 108 // and NULL-ed out on destruction. |
| 109 ProfileSyncService* sync_service_; | 109 ProfileSyncService* sync_service_; |
| 110 | 110 |
| 111 // Tracks managed preference warning banner state. | 111 // Tracks managed preference warning banner state. |
| 112 ManagedPrefsBannerGtk managed_prefs_banner_; | 112 ManagedPrefsBannerGtk managed_prefs_banner_; |
| 113 | 113 |
| 114 DISALLOW_COPY_AND_ASSIGN(ContentPageGtk); | 114 DISALLOW_COPY_AND_ASSIGN(ContentPageGtk); |
| 115 }; | 115 }; |
| 116 | 116 |
| 117 #endif // CHROME_BROWSER_GTK_OPTIONS_CONTENT_PAGE_GTK_H_ | 117 #endif // CHROME_BROWSER_GTK_OPTIONS_CONTENT_PAGE_GTK_H_ |
| OLD | NEW |