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

Unified Diff: ash/common/system/status_area_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/common/system/status_area_widget.h ('k') | ash/mus/bridge/wm_shelf_mus.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/system/status_area_widget.cc
diff --git a/ash/common/system/status_area_widget.cc b/ash/common/system/status_area_widget.cc
index ada0972c044099b15bee9984ef61c38a2b378c6f..34d04a6f3e4bd30cab675388a4a5d9e3ace9e234 100644
--- a/ash/common/system/status_area_widget.cc
+++ b/ash/common/system/status_area_widget.cc
@@ -144,16 +144,6 @@ void StatusAreaWidget::OnNativeWidgetActivationChanged(bool active) {
status_area_widget_delegate_->SetPaneFocusAndFocusDefault();
}
-void StatusAreaWidget::OnMouseEvent(ui::MouseEvent* event) {
- Widget::OnMouseEvent(event);
- wm_shelf_->UpdateAutoHideForMouseEvent(event);
-}
-
-void StatusAreaWidget::OnGestureEvent(ui::GestureEvent* event) {
- Widget::OnGestureEvent(event);
- wm_shelf_->UpdateAutoHideForGestureEvent(event);
-}
-
void StatusAreaWidget::UpdateShelfItemBackground(int alpha) {
web_notification_tray_->UpdateShelfItemBackground(alpha);
system_tray_->UpdateShelfItemBackground(alpha);
« no previous file with comments | « ash/common/system/status_area_widget.h ('k') | ash/mus/bridge/wm_shelf_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698