Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Side by Side Diff: chrome/browser/gtk/options/content_page_gtk.h

Issue 2975003: Makes the auto fill dialogs match the mocks. (Closed)
Patch Set: Moves function declarations out of autofill_dialog.h Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 GtkWidget* InitSyncGroup(); 50 GtkWidget* InitSyncGroup();
51 51
52 CHROMEGTK_CALLBACK_0(ContentPageGtk, void, OnImportButtonClicked); 52 CHROMEGTK_CALLBACK_0(ContentPageGtk, void, OnImportButtonClicked);
53 CHROMEGTK_CALLBACK_0(ContentPageGtk, void, OnGtkThemeButtonClicked); 53 CHROMEGTK_CALLBACK_0(ContentPageGtk, void, OnGtkThemeButtonClicked);
54 CHROMEGTK_CALLBACK_0(ContentPageGtk, void, OnResetDefaultThemeButtonClicked); 54 CHROMEGTK_CALLBACK_0(ContentPageGtk, void, OnResetDefaultThemeButtonClicked);
55 CHROMEGTK_CALLBACK_0(ContentPageGtk, void, OnGetThemesButtonClicked); 55 CHROMEGTK_CALLBACK_0(ContentPageGtk, void, OnGetThemesButtonClicked);
56 CHROMEGTK_CALLBACK_0(ContentPageGtk, void, OnSystemTitleBarRadioToggled); 56 CHROMEGTK_CALLBACK_0(ContentPageGtk, void, OnSystemTitleBarRadioToggled);
57 CHROMEGTK_CALLBACK_0(ContentPageGtk, void, OnShowPasswordsButtonClicked); 57 CHROMEGTK_CALLBACK_0(ContentPageGtk, void, OnShowPasswordsButtonClicked);
58 CHROMEGTK_CALLBACK_0(ContentPageGtk, void, OnPasswordRadioToggled); 58 CHROMEGTK_CALLBACK_0(ContentPageGtk, void, OnPasswordRadioToggled);
59 CHROMEGTK_CALLBACK_0(ContentPageGtk, void, OnAutoFillButtonClicked); 59 CHROMEGTK_CALLBACK_0(ContentPageGtk, void, OnAutoFillButtonClicked);
60 CHROMEGTK_CALLBACK_0(ContentPageGtk, void, OnAutoFillRadioToggled);
61 CHROMEGTK_CALLBACK_0(ContentPageGtk, void, OnSyncStartStopButtonClicked); 60 CHROMEGTK_CALLBACK_0(ContentPageGtk, void, OnSyncStartStopButtonClicked);
62 CHROMEGTK_CALLBACK_0(ContentPageGtk, void, OnSyncCustomizeButtonClicked); 61 CHROMEGTK_CALLBACK_0(ContentPageGtk, void, OnSyncCustomizeButtonClicked);
63 CHROMEGTK_CALLBACK_0(ContentPageGtk, void, OnSyncActionLinkClicked); 62 CHROMEGTK_CALLBACK_0(ContentPageGtk, void, OnSyncActionLinkClicked);
64 CHROMEGTK_CALLBACK_1(ContentPageGtk, void, OnStopSyncDialogResponse, int); 63 CHROMEGTK_CALLBACK_1(ContentPageGtk, void, OnStopSyncDialogResponse, int);
65 64
66 // Widgets for the Password saving group. 65 // Widgets for the Password saving group.
67 GtkWidget* passwords_asktosave_radio_; 66 GtkWidget* passwords_asktosave_radio_;
68 GtkWidget* passwords_neversave_radio_; 67 GtkWidget* passwords_neversave_radio_;
69 68
70 // Widgets for the Form AutoFill group.
71 GtkWidget* form_autofill_enable_radio_;
72 GtkWidget* form_autofill_disable_radio_;
73 GtkWidget* autofill_button_;
74
75 // Widgets for the Appearance group. 69 // Widgets for the Appearance group.
76 GtkWidget* system_title_bar_show_radio_; 70 GtkWidget* system_title_bar_show_radio_;
77 GtkWidget* system_title_bar_hide_radio_; 71 GtkWidget* system_title_bar_hide_radio_;
78 GtkWidget* themes_reset_button_; 72 GtkWidget* themes_reset_button_;
79 #if defined(TOOLKIT_GTK) 73 #if defined(TOOLKIT_GTK)
80 GtkWidget* gtk_theme_button_; 74 GtkWidget* gtk_theme_button_;
81 #endif 75 #endif
82 76
83 // Widgets for the Sync group. 77 // Widgets for the Sync group.
84 GtkWidget* sync_status_label_background_; 78 GtkWidget* sync_status_label_background_;
85 GtkWidget* sync_status_label_; 79 GtkWidget* sync_status_label_;
86 GtkWidget* sync_action_link_background_; 80 GtkWidget* sync_action_link_background_;
87 GtkWidget* sync_action_link_; 81 GtkWidget* sync_action_link_;
88 #if !defined(OS_CHROMEOS) 82 #if !defined(OS_CHROMEOS)
89 GtkWidget* sync_start_stop_button_; 83 GtkWidget* sync_start_stop_button_;
90 #endif 84 #endif
91 GtkWidget* sync_customize_button_; 85 GtkWidget* sync_customize_button_;
92 86
93 // The parent GtkTable widget 87 // The parent GtkTable widget
94 GtkWidget* page_; 88 GtkWidget* page_;
95 89
96 // Pref members. 90 // Pref members.
97 BooleanPrefMember ask_to_save_passwords_; 91 BooleanPrefMember ask_to_save_passwords_;
98 BooleanPrefMember enable_form_autofill_;
99 BooleanPrefMember use_custom_chrome_frame_; 92 BooleanPrefMember use_custom_chrome_frame_;
100 93
101 // Flag to ignore gtk callbacks while we are loading prefs, to avoid 94 // Flag to ignore gtk callbacks while we are loading prefs, to avoid
102 // then turning around and saving them again. 95 // then turning around and saving them again.
103 bool initializing_; 96 bool initializing_;
104 97
105 NotificationRegistrar registrar_; 98 NotificationRegistrar registrar_;
106 99
107 // Cached pointer to ProfileSyncService, if it exists. Kept up to date 100 // Cached pointer to ProfileSyncService, if it exists. Kept up to date
108 // and NULL-ed out on destruction. 101 // and NULL-ed out on destruction.
109 ProfileSyncService* sync_service_; 102 ProfileSyncService* sync_service_;
110 103
111 DISALLOW_COPY_AND_ASSIGN(ContentPageGtk); 104 DISALLOW_COPY_AND_ASSIGN(ContentPageGtk);
112 }; 105 };
113 106
114 #endif // CHROME_BROWSER_GTK_OPTIONS_CONTENT_PAGE_GTK_H_ 107 #endif // CHROME_BROWSER_GTK_OPTIONS_CONTENT_PAGE_GTK_H_
OLDNEW
« no previous file with comments | « chrome/browser/gtk/keyword_editor_view.cc ('k') | chrome/browser/gtk/options/content_page_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698