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

Unified Diff: ui/views/corewm/window_animations.h

Issue 139013006: Revert 245031 "This CL" (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1795/src/
Patch Set: Created 6 years, 11 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 | « ui/compositor/scoped_layer_animation_settings.cc ('k') | ui/views/corewm/window_animations.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/corewm/window_animations.h
===================================================================
--- ui/views/corewm/window_animations.h (revision 245869)
+++ ui/views/corewm/window_animations.h (working copy)
@@ -70,28 +70,10 @@
aura::Window* window,
WindowVisibilityAnimationTransition transition);
-// Sets the duration of |window|'s show animation.
-VIEWS_EXPORT void SetWindowShowAnimationDuration(
+VIEWS_EXPORT void SetWindowVisibilityAnimationDuration(
aura::Window* window,
const base::TimeDelta& duration);
-// Sets the duration of |window|'s hide animation.
-VIEWS_EXPORT void SetWindowHideAnimationDuration(
- aura::Window* window,
- const base::TimeDelta& duration);
-
-// Returns the duration of |window|'s show animation if it is set and
-// |default_duration| otherwise.
-VIEWS_EXPORT base::TimeDelta GetWindowShowAnimationDuration(
- aura::Window* window,
- const base::TimeDelta& default_duration);
-
-// Returns the duration of |window|'s hide animation duration if it is set and
-// |default_duration| otherwise.
-VIEWS_EXPORT base::TimeDelta GetWindowHideAnimationDuration(
- aura::Window* window,
- const base::TimeDelta& default_duration);
-
VIEWS_EXPORT void SetWindowVisibilityAnimationVerticalPosition(
aura::Window* window,
float position);
« no previous file with comments | « ui/compositor/scoped_layer_animation_settings.cc ('k') | ui/views/corewm/window_animations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698