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

Unified Diff: ui/compositor/layer_animator.h

Issue 1671313002: MacViews: Overlay Scrollbars with Show/Hide Animations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: ui/compositor/layer_animator.h
diff --git a/ui/compositor/layer_animator.h b/ui/compositor/layer_animator.h
index 655c17c9b3bf273bcffd23d2baff5b830e6199f0..c6c4aff1dbe07e643a467a2eaeb3a579a9efa384 100644
--- a/ui/compositor/layer_animator.h
+++ b/ui/compositor/layer_animator.h
@@ -105,6 +105,9 @@ class COMPOSITOR_EXPORT LayerAnimator
// animation mode if set.
base::TimeDelta GetTransitionDuration() const;
+ // Sets |transition_duration_| unless |is_transition_duration_locked_| is set.
+ void SetTransitionDuration(base::TimeDelta duration);
tapted 2016/02/16 06:47:58 Ah curious. So I think the way this is intended to
spqchan 2016/02/16 23:18:18 Ah, that makes more sense. I made the change for i
+
// Sets the layer animation delegate the animator is associated with. The
// animator does not own the delegate. The layer animator expects a non-NULL
// delegate for most of its operations, so do not call any methods without
@@ -325,9 +328,6 @@ class COMPOSITOR_EXPORT LayerAnimator
// starting the animation or adding to the queue.
void OnScheduled(LayerAnimationSequence* sequence);
- // Sets |transition_duration_| unless |is_transition_duration_locked_| is set.
- void SetTransitionDuration(base::TimeDelta duration);
-
// Clears the animation queues and notifies any running animations that they
// have been aborted.
void ClearAnimationsInternal();
« no previous file with comments | « no previous file | ui/views/cocoa/views_scrollbar_bridge.h » ('j') | ui/views/controls/scrollbar/cocoa_scroll_bar.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698