| 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_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 "chrome/browser/options_page_base.h" | 10 #include "chrome/browser/options_page_base.h" |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 GtkWidget* InitBrowsingDataGroup(); | 30 GtkWidget* InitBrowsingDataGroup(); |
| 31 GtkWidget* InitThemesGroup(); | 31 GtkWidget* InitThemesGroup(); |
| 32 | 32 |
| 33 // Callback for import button. | 33 // Callback for import button. |
| 34 static void OnImportButtonClicked(GtkButton* widget, ContentPageGtk* page); | 34 static void OnImportButtonClicked(GtkButton* widget, ContentPageGtk* page); |
| 35 | 35 |
| 36 // Callback for clear data button. | 36 // Callback for clear data button. |
| 37 static void OnClearBrowsingDataButtonClicked(GtkButton* widget, | 37 static void OnClearBrowsingDataButtonClicked(GtkButton* widget, |
| 38 ContentPageGtk* page); | 38 ContentPageGtk* page); |
| 39 | 39 |
| 40 // Callback for the GTK theme button. |
| 41 static void OnGtkThemeButtonClicked(GtkButton* widget, |
| 42 ContentPageGtk* page); |
| 43 |
| 40 // Callback for reset default theme button. | 44 // Callback for reset default theme button. |
| 41 static void OnResetDefaultThemeButtonClicked(GtkButton* widget, | 45 static void OnResetDefaultThemeButtonClicked(GtkButton* widget, |
| 42 ContentPageGtk* page); | 46 ContentPageGtk* page); |
| 43 | 47 |
| 44 // Callback for passwords exceptions button. | 48 // Callback for passwords exceptions button. |
| 45 static void OnPasswordsExceptionsButtonClicked(GtkButton* widget, | 49 static void OnPasswordsExceptionsButtonClicked(GtkButton* widget, |
| 46 ContentPageGtk* page); | 50 ContentPageGtk* page); |
| 47 | 51 |
| 48 // Callback for password radio buttons. | 52 // Callback for password radio buttons. |
| 49 static void OnPasswordRadioToggled(GtkToggleButton* widget, | 53 static void OnPasswordRadioToggled(GtkToggleButton* widget, |
| (...skipping 19 matching lines...) Expand all Loading... |
| 69 BooleanPrefMember ask_to_save_form_autofill_; | 73 BooleanPrefMember ask_to_save_form_autofill_; |
| 70 | 74 |
| 71 // Flag to ignore gtk callbacks while we are loading prefs, to avoid | 75 // Flag to ignore gtk callbacks while we are loading prefs, to avoid |
| 72 // then turning around and saving them again. | 76 // then turning around and saving them again. |
| 73 bool initializing_; | 77 bool initializing_; |
| 74 | 78 |
| 75 DISALLOW_COPY_AND_ASSIGN(ContentPageGtk); | 79 DISALLOW_COPY_AND_ASSIGN(ContentPageGtk); |
| 76 }; | 80 }; |
| 77 | 81 |
| 78 #endif // CHROME_BROWSER_GTK_OPTIONS_CONTENT_PAGE_GTK_H_ | 82 #endif // CHROME_BROWSER_GTK_OPTIONS_CONTENT_PAGE_GTK_H_ |
| OLD | NEW |