Chromium Code Reviews| Index: ash/shelf/shelf_widget.cc |
| diff --git a/ash/shelf/shelf_widget.cc b/ash/shelf/shelf_widget.cc |
| index f582e8bd34a37e51d6fd067f7f524a67d57e9c36..53c207951cf68c872a6dc3277a64f055f1750db4 100644 |
| --- a/ash/shelf/shelf_widget.cc |
| +++ b/ash/shelf/shelf_widget.cc |
| @@ -22,7 +22,6 @@ |
| #include "ash/shelf/shelf.h" |
| #include "ash/shelf/shelf_layout_manager.h" |
| #include "ash/shelf/shelf_window_targeter.h" |
| -#include "ash/shell.h" |
|
James Cook
2016/08/09 19:47:58
Hooray!
msw
2016/08/09 19:52:58
Acknowledged.
|
| #include "ash/wm/status_area_layout_manager.h" |
| #include "ash/wm/workspace_controller.h" |
| #include "base/memory/ptr_util.h" |
| @@ -526,16 +525,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 |