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

Unified Diff: ash/wm/overview/overview_animation_type.h

Issue 690103008: Implemented swipe to close in overview mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed ET_SCROLL_FLING_CANCEL handling from TransparentButton and removed WindowSelector.MultiWind… Created 5 years, 12 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
Index: ash/wm/overview/overview_animation_type.h
diff --git a/ash/wm/overview/overview_animation_type.h b/ash/wm/overview/overview_animation_type.h
index 391ce8e14bbb82142bd40707f9f2590b79e9a541..1b832303719c2de9989cd0dbbdf67c0027ca8bbd 100644
--- a/ash/wm/overview/overview_animation_type.h
+++ b/ash/wm/overview/overview_animation_type.h
@@ -21,7 +21,12 @@ enum OverviewAnimationType {
OVERVIEW_ANIMATION_HIDE_WINDOW,
// Used to restore windows to their original position when exiting overview
// mode.
- OVERVIEW_ANIMATION_RESTORE_WINDOW
+ OVERVIEW_ANIMATION_RESTORE_WINDOW,
+ // Used to animate windows when a user performs a touch drag gesture.
+ SELECTOR_ITEM_SCROLL,
+ // Used to animate windows back in to position when a touch drag gesture is
+ // cancelled.
+ SELECTOR_ITEM_SCROLL_CANCEL
};
} // namespace ash

Powered by Google App Engine
This is Rietveld 408576698