summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/clear_browsing_data.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/clear_browsing_data.h')
-rw-r--r--chrome/browser/views/clear_browsing_data.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/views/clear_browsing_data.h b/chrome/browser/views/clear_browsing_data.h
index 9b000fb..f32f31d 100644
--- a/chrome/browser/views/clear_browsing_data.h
+++ b/chrome/browser/views/clear_browsing_data.h
@@ -34,6 +34,7 @@ class ClearBrowsingDataView : public views::View,
public views::DialogDelegate,
public views::ComboBox::Model,
public views::NativeButton::Listener,
+ public views::ComboBox::Listener,
public BrowsingDataRemover::Observer {
public:
explicit ClearBrowsingDataView(Profile* profile);
@@ -68,6 +69,10 @@ class ClearBrowsingDataView : public views::View,
// Overridden from views::NativeButton::Listener:
virtual void ButtonPressed(views::NativeButton* sender);
+ // Overridden from views::ComboBox::Listener:
+ virtual void ItemChanged(views::ComboBox* sender, int prev_index,
+ int new_index);
+
private:
// Adds a new check-box as a child to the view.
views::CheckBox* AddCheckbox(const std::wstring& text, bool checked);