| 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 | 7 |
| 8 #include <gtk/gtk.h> | 8 #include <gtk/gtk.h> |
| 9 | 9 |
| 10 #include "app/gtk_signal.h" | 10 #include "app/gtk_signal.h" |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 GtkWidget* themes_reset_button_; | 74 GtkWidget* themes_reset_button_; |
| 75 #if defined(TOOLKIT_GTK) | 75 #if defined(TOOLKIT_GTK) |
| 76 GtkWidget* gtk_theme_button_; | 76 GtkWidget* gtk_theme_button_; |
| 77 #endif | 77 #endif |
| 78 | 78 |
| 79 // Widgets for the Sync group. | 79 // Widgets for the Sync group. |
| 80 GtkWidget* sync_status_label_background_; | 80 GtkWidget* sync_status_label_background_; |
| 81 GtkWidget* sync_status_label_; | 81 GtkWidget* sync_status_label_; |
| 82 GtkWidget* sync_action_link_background_; | 82 GtkWidget* sync_action_link_background_; |
| 83 GtkWidget* sync_action_link_; | 83 GtkWidget* sync_action_link_; |
| 84 #if !defined(OS_CHROMEOS) |
| 84 GtkWidget* sync_start_stop_button_; | 85 GtkWidget* sync_start_stop_button_; |
| 86 #endif |
| 85 GtkWidget* sync_customize_button_; | 87 GtkWidget* sync_customize_button_; |
| 86 GtkWidget* privacy_dashboard_link_; | 88 GtkWidget* privacy_dashboard_link_; |
| 87 | 89 |
| 88 // The parent GtkTable widget | 90 // The parent GtkTable widget |
| 89 GtkWidget* page_; | 91 GtkWidget* page_; |
| 90 | 92 |
| 91 // Pref members. | 93 // Pref members. |
| 92 BooleanPrefMember ask_to_save_passwords_; | 94 BooleanPrefMember ask_to_save_passwords_; |
| 93 BooleanPrefMember use_custom_chrome_frame_; | 95 BooleanPrefMember use_custom_chrome_frame_; |
| 94 | 96 |
| 95 // Flag to ignore gtk callbacks while we are loading prefs, to avoid | 97 // Flag to ignore gtk callbacks while we are loading prefs, to avoid |
| 96 // then turning around and saving them again. | 98 // then turning around and saving them again. |
| 97 bool initializing_; | 99 bool initializing_; |
| 98 | 100 |
| 99 NotificationRegistrar registrar_; | 101 NotificationRegistrar registrar_; |
| 100 | 102 |
| 101 // Cached pointer to ProfileSyncService, if it exists. Kept up to date | 103 // Cached pointer to ProfileSyncService, if it exists. Kept up to date |
| 102 // and NULL-ed out on destruction. | 104 // and NULL-ed out on destruction. |
| 103 ProfileSyncService* sync_service_; | 105 ProfileSyncService* sync_service_; |
| 104 | 106 |
| 105 // Tracks managed preference warning banner state. | 107 // Tracks managed preference warning banner state. |
| 106 ManagedPrefsBannerGtk managed_prefs_banner_; | 108 ManagedPrefsBannerGtk managed_prefs_banner_; |
| 107 | 109 |
| 108 DISALLOW_COPY_AND_ASSIGN(ContentPageGtk); | 110 DISALLOW_COPY_AND_ASSIGN(ContentPageGtk); |
| 109 }; | 111 }; |
| 110 | 112 |
| 111 #endif // CHROME_BROWSER_GTK_OPTIONS_CONTENT_PAGE_GTK_H_ | 113 #endif // CHROME_BROWSER_GTK_OPTIONS_CONTENT_PAGE_GTK_H_ |
| OLD | NEW |