summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui/message_center/views/notifier_settings_view.cc4
-rw-r--r--ui/message_center/views/notifier_settings_view.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/ui/message_center/views/notifier_settings_view.cc b/ui/message_center/views/notifier_settings_view.cc
index 867d9e7..1c1f0a9 100644
--- a/ui/message_center/views/notifier_settings_view.cc
+++ b/ui/message_center/views/notifier_settings_view.cc
@@ -343,6 +343,10 @@ bool NotifierSettingsView::OnKeyPressed(const ui::KeyEvent& event) {
return scroller_->OnKeyPressed(event);
}
+bool NotifierSettingsView::OnMouseWheel(const ui::MouseWheelEvent& event) {
+ return scroller_->OnMouseWheel(event);
+}
+
void NotifierSettingsView::ButtonPressed(views::Button* sender,
const ui::Event& event) {
std::set<NotifierButton*>::iterator iter = buttons_.find(
diff --git a/ui/message_center/views/notifier_settings_view.h b/ui/message_center/views/notifier_settings_view.h
index 68db79b..bd2e1b4 100644
--- a/ui/message_center/views/notifier_settings_view.h
+++ b/ui/message_center/views/notifier_settings_view.h
@@ -63,6 +63,7 @@ class MESSAGE_CENTER_EXPORT NotifierSettingsView
virtual gfx::Size GetPreferredSize() OVERRIDE;
virtual void OnBlur() OVERRIDE;
virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE;
+ virtual bool OnMouseWheel(const ui::MouseWheelEvent& event) OVERRIDE;
// Overridden from views::ButtonListener:
virtual void ButtonPressed(views::Button* sender,