| Index: ash/shelf/shelf_widget.cc
|
| diff --git a/ash/shelf/shelf_widget.cc b/ash/shelf/shelf_widget.cc
|
| index f67d85e0fd86989046541aa905e76360989fbf5f..e20f34553f9362fa9397a0bb7e7ca1ee7cb4c5ed 100644
|
| --- a/ash/shelf/shelf_widget.cc
|
| +++ b/ash/shelf/shelf_widget.cc
|
| @@ -21,7 +21,6 @@
|
| #include "ash/shelf/dimmer_view.h"
|
| #include "ash/shelf/shelf.h"
|
| #include "ash/shelf/shelf_layout_manager.h"
|
| -#include "ash/shell.h"
|
| #include "ash/wm/status_area_layout_manager.h"
|
| #include "ash/wm/workspace_controller.h"
|
| #include "base/memory/ptr_util.h"
|
| @@ -519,16 +518,4 @@ void ShelfWidget::WillDeleteShelfLayoutManager() {
|
| shelf_layout_manager_ = nullptr;
|
| }
|
|
|
| -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);
|
| -}
|
| -
|
| } // namespace ash
|
|
|