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

Unified Diff: chrome/browser/gtk/clear_browsing_data_dialog_gtk.h

Issue 5964008: Add UI to the Clear Browsing Data dialog to remove Flash LSO data. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review Created 9 years, 12 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/dom_ui/options/options_ui.cc ('k') | chrome/browser/gtk/clear_browsing_data_dialog_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « chrome/browser/dom_ui/options/options_ui.cc ('k') | chrome/browser/gtk/clear_browsing_data_dialog_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698