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

Unified Diff: ash/common/system/status_area_widget_delegate.cc

Issue 2224653002: mash: Remove ash::ShelfGestureHandler and ui::ET_GESTURE_WIN8_EDGE_SWIPE (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/shelf/wm_shelf.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_delegate.cc
diff --git a/ash/common/system/status_area_widget_delegate.cc b/ash/common/system/status_area_widget_delegate.cc
index d749273d18780a3cbacab8d04e3ee510ec2539f2..3674f34673271e8371d642bcd6df041a54143d1d 100644
--- a/ash/common/system/status_area_widget_delegate.cc
+++ b/ash/common/system/status_area_widget_delegate.cc
@@ -86,7 +86,7 @@ void StatusAreaWidgetDelegate::OnGestureEvent(ui::GestureEvent* event) {
static_cast<views::View*>(event->target())->GetWidget();
WmWindow* target_window = WmLookup::Get()->GetWindowForWidget(target_widget);
WmShelf* shelf = target_window->GetRootWindowController()->GetShelf();
- if (shelf->ProcessGestureEvent(*event, target_window))
+ if (shelf->ProcessGestureEvent(*event))
event->StopPropagation();
else
views::AccessiblePaneView::OnGestureEvent(event);
« no previous file with comments | « ash/common/shelf/wm_shelf.h ('k') | ash/mus/bridge/wm_shelf_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698