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

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: Addressed flackr's comments from Patch Set 7. Created 5 years, 10 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/ash_switches.cc ('k') | ash/wm/overview/scoped_overview_animation_settings.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..5df51cb1766d73d6196b0aef920836e007c97464 100644
--- a/ash/wm/overview/overview_animation_type.h
+++ b/ash/wm/overview/overview_animation_type.h
@@ -12,8 +12,10 @@ enum OverviewAnimationType {
// TODO(bruthig): Remove OVERVIEW_ANIMATION_NONE value and replace it with
// correct animation type actions.
OVERVIEW_ANIMATION_NONE,
- // Used to fade in the close button and label when entering overview mode.
+ // Used to fade in the close button and label.
OVERVIEW_ANIMATION_ENTER_OVERVIEW_MODE_FADE_IN,
+ // Used to fade out the close button.
+ OVERVIEW_ANIMATION_ENTER_OVERVIEW_MODE_FADE_OUT,
// Used to position windows when entering/exiting overview mode and when a
// window is closed while overview mode is active.
OVERVIEW_ANIMATION_LAY_OUT_SELECTOR_ITEMS,
@@ -21,7 +23,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.
+ OVERVIEW_ANIMATION_SCROLL_SELECTOR_ITEM,
+ // Used to animate windows back in to position when a touch drag gesture is
+ // cancelled.
+ OVERVIEW_ANIMATION_CANCEL_SELECTOR_ITEM_SCROLL
};
} // namespace ash
« no previous file with comments | « ash/ash_switches.cc ('k') | ash/wm/overview/scoped_overview_animation_settings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698