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

Unified Diff: ash/common/shelf/wm_shelf.h

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/aura/wm_shelf_aura.cc ('k') | ash/common/system/status_area_widget_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/shelf/wm_shelf.h
diff --git a/ash/common/shelf/wm_shelf.h b/ash/common/shelf/wm_shelf.h
index 0fbee4bc0b76c8150ee1b5008957e9191bfc0d89..1040adb65a9b33215b803c4ec19f5de211a6b50f 100644
--- a/ash/common/shelf/wm_shelf.h
+++ b/ash/common/shelf/wm_shelf.h
@@ -76,12 +76,11 @@ class ASH_EXPORT WmShelf {
// no item for the specified window an empty rect is returned.
virtual gfx::Rect GetScreenBoundsOfItemIconForWindow(WmWindow* window) = 0;
- // Handles a gesture |event| coming from a |target_window| outside the shelf
+ // Handles a gesture |event| coming from a source outside the shelf widget
// (e.g. the status area widget). Allows support for behaviors like toggling
- // auto-hide with an edge swipe, even if that gesture event hits another
- // window. Returns true if the event was handled.
- virtual bool ProcessGestureEvent(const ui::GestureEvent& event,
- WmWindow* target_window) = 0;
+ // auto-hide with a swipe, even if that gesture event hits another window.
+ // Returns true if the event was handled.
+ virtual bool ProcessGestureEvent(const ui::GestureEvent& event) = 0;
// TODO(jamescook): Nuke when ash_sysui is removed. http://crbug.com/621112
virtual void UpdateAutoHideForMouseEvent(ui::MouseEvent* event) = 0;
« no previous file with comments | « ash/aura/wm_shelf_aura.cc ('k') | ash/common/system/status_area_widget_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698