| Index: ui/message_center/views/notification_view.cc
|
| diff --git a/ui/message_center/views/notification_view.cc b/ui/message_center/views/notification_view.cc
|
| index a36af5359fd815d0719523dd0a6e96dca9587181..1d3970f3e90cf23521eef9f383823b8c5ccf37f0 100644
|
| --- a/ui/message_center/views/notification_view.cc
|
| +++ b/ui/message_center/views/notification_view.cc
|
| @@ -695,8 +695,12 @@ void NotificationView::ScrollRectToVisible(const gfx::Rect& rect) {
|
| views::View::ScrollRectToVisible(GetLocalBounds());
|
| }
|
|
|
| -views::View* NotificationView::GetEventHandlerForPoint(
|
| - const gfx::Point& point) {
|
| +views::View* NotificationView::GetEventHandlerForRect(const gfx::Rect& rect) {
|
| + // TODO(tdanderson): Modify this function to support rect-based event
|
| + // targeting. Using the center point of |rect| preserves this function's
|
| + // expected behavior for the time being.
|
| + gfx::Point point = rect.CenterPoint();
|
| +
|
| // Want to return this for underlying views, otherwise GetCursor is not
|
| // called. But buttons are exceptions, they'll have their own event handlings.
|
| std::vector<views::View*> buttons(action_buttons_);
|
|
|