| Index: chrome/browser/gtk/clear_browsing_data_dialog_gtk.h
|
| diff --git a/chrome/browser/gtk/clear_browsing_data_dialog_gtk.h b/chrome/browser/gtk/clear_browsing_data_dialog_gtk.h
|
| index 87a4546583856db8d5c5ae981f8397e1f6017322..a914a1d4ea4479cab5b8a813d3ac0ab7d1fdc2e0 100644
|
| --- a/chrome/browser/gtk/clear_browsing_data_dialog_gtk.h
|
| +++ b/chrome/browser/gtk/clear_browsing_data_dialog_gtk.h
|
| @@ -9,6 +9,8 @@
|
| #include "app/gtk_signal.h"
|
| #include "base/basictypes.h"
|
| #include "base/scoped_ptr.h"
|
| +#include "chrome/browser/plugin_data_remover_helper.h"
|
| +#include "chrome/common/notification_observer.h"
|
|
|
| typedef struct _GtkWidget GtkWidget;
|
| typedef struct _GtkWindow GtkWindow;
|
| @@ -17,7 +19,7 @@ class AccessibleWidgetHelper;
|
| class BrowsingDataRemover;
|
| class Profile;
|
|
|
| -class ClearBrowsingDataDialogGtk {
|
| +class ClearBrowsingDataDialogGtk : public NotificationObserver {
|
| public:
|
| // Displays the dialog box to clear browsing data from |profile|.
|
| static void Show(GtkWindow* parent, Profile* profile);
|
| @@ -34,6 +36,10 @@ class ClearBrowsingDataDialogGtk {
|
|
|
| CHROMEGTK_CALLBACK_0(ClearBrowsingDataDialogGtk, void, OnFlashLinkClicked);
|
|
|
| + virtual void Observe(NotificationType type,
|
| + const NotificationSource& source,
|
| + const NotificationDetails& details);
|
| +
|
| // Enable or disable the dialog buttons depending on the state of the
|
| // checkboxes.
|
| void UpdateDialogButtons();
|
| @@ -50,6 +56,7 @@ class ClearBrowsingDataDialogGtk {
|
| GtkWidget* del_cache_checkbox_;
|
| GtkWidget* del_cookies_checkbox_;
|
| GtkWidget* del_passwords_checkbox_;
|
| + GtkWidget* del_lso_data_checkbox_;
|
| GtkWidget* del_form_data_checkbox_;
|
| GtkWidget* time_period_combobox_;
|
|
|
| @@ -60,6 +67,8 @@ class ClearBrowsingDataDialogGtk {
|
| // of deleting itself when done.
|
| BrowsingDataRemover* remover_;
|
|
|
| + PluginDataRemoverHelper del_lso_data_enabled_;
|
| +
|
| // Helper object to manage accessibility metadata.
|
| scoped_ptr<AccessibleWidgetHelper> accessible_widget_helper_;
|
|
|
|
|