Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(233)

Unified Diff: ash/shelf/shelf_widget.cc

Issue 2227143003: mash: Move AutoHideEventHandler to WmShelfAura. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync and rebase. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/shelf/shelf_widget.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « ash/shelf/shelf_widget.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698