| Index: ash/shelf/shelf_widget.cc
|
| diff --git a/ash/shelf/shelf_widget.cc b/ash/shelf/shelf_widget.cc
|
| index 601cecdfc73ed72ca7806716a6b4508f651afc02..3b04c957802a7e70ed1a68eadedd0c6fdf4afed7 100644
|
| --- a/ash/shelf/shelf_widget.cc
|
| +++ b/ash/shelf/shelf_widget.cc
|
| @@ -794,6 +794,18 @@ void ShelfWidget::DisableDimmingAnimationsForTest() {
|
| return delegate_view_->disable_dimming_animations_for_test();
|
| }
|
|
|
| +void ShelfWidget::OnMouseEvent(ui::MouseEvent* event) {
|
| + Widget::OnMouseEvent(event);
|
| + if (Shell::GetInstance()->in_mus() && shelf_layout_manager_)
|
| + shelf_layout_manager_->UpdateAutoHideForMouseEvent(event);
|
| +}
|
| +
|
| +void ShelfWidget::OnGestureEvent(ui::GestureEvent* event) {
|
| + Widget::OnGestureEvent(event);
|
| + if (Shell::GetInstance()->in_mus() && shelf_layout_manager_)
|
| + shelf_layout_manager_->UpdateAutoHideForGestureEvent(event);
|
| +}
|
| +
|
| void ShelfWidget::WillDeleteShelf() {
|
| shelf_layout_manager_->RemoveObserver(this);
|
| shelf_layout_manager_ = NULL;
|
|
|