| 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 27 matching lines...) Expand all Loading... |
| 38 ContentPageGtk* page); | 38 ContentPageGtk* page); |
| 39 | 39 |
| 40 // Callback for the GTK theme button. | 40 // Callback for the GTK theme button. |
| 41 static void OnGtkThemeButtonClicked(GtkButton* widget, | 41 static void OnGtkThemeButtonClicked(GtkButton* widget, |
| 42 ContentPageGtk* page); | 42 ContentPageGtk* page); |
| 43 | 43 |
| 44 // Callback for reset default theme button. | 44 // Callback for reset default theme button. |
| 45 static void OnResetDefaultThemeButtonClicked(GtkButton* widget, | 45 static void OnResetDefaultThemeButtonClicked(GtkButton* widget, |
| 46 ContentPageGtk* page); | 46 ContentPageGtk* page); |
| 47 | 47 |
| 48 // Callback for get themes button. |
| 49 static void OnGetThemesButtonClicked(GtkButton* widget, |
| 50 ContentPageGtk* page); |
| 51 |
| 48 // Callback for passwords exceptions button. | 52 // Callback for passwords exceptions button. |
| 49 static void OnPasswordsExceptionsButtonClicked(GtkButton* widget, | 53 static void OnPasswordsExceptionsButtonClicked(GtkButton* widget, |
| 50 ContentPageGtk* page); | 54 ContentPageGtk* page); |
| 51 | 55 |
| 52 // Callback for password radio buttons. | 56 // Callback for password radio buttons. |
| 53 static void OnPasswordRadioToggled(GtkToggleButton* widget, | 57 static void OnPasswordRadioToggled(GtkToggleButton* widget, |
| 54 ContentPageGtk* page); | 58 ContentPageGtk* page); |
| 55 | 59 |
| 56 // Callback for form autofill radio buttons. | 60 // Callback for form autofill radio buttons. |
| 57 static void OnAutofillRadioToggled(GtkToggleButton* widget, | 61 static void OnAutofillRadioToggled(GtkToggleButton* widget, |
| (...skipping 15 matching lines...) Expand all Loading... |
| 73 BooleanPrefMember ask_to_save_form_autofill_; | 77 BooleanPrefMember ask_to_save_form_autofill_; |
| 74 | 78 |
| 75 // Flag to ignore gtk callbacks while we are loading prefs, to avoid | 79 // Flag to ignore gtk callbacks while we are loading prefs, to avoid |
| 76 // then turning around and saving them again. | 80 // then turning around and saving them again. |
| 77 bool initializing_; | 81 bool initializing_; |
| 78 | 82 |
| 79 DISALLOW_COPY_AND_ASSIGN(ContentPageGtk); | 83 DISALLOW_COPY_AND_ASSIGN(ContentPageGtk); |
| 80 }; | 84 }; |
| 81 | 85 |
| 82 #endif // CHROME_BROWSER_GTK_OPTIONS_CONTENT_PAGE_GTK_H_ | 86 #endif // CHROME_BROWSER_GTK_OPTIONS_CONTENT_PAGE_GTK_H_ |
| OLD | NEW |