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

Unified Diff: chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_animation_controller.h

Issue 2516803002: [Mac] Tests for FullscreenToolbarController (Closed)
Patch Set: Fix for erikchen Created 4 years, 1 month 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: chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_animation_controller.h
diff --git a/chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_animation_controller.h b/chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_animation_controller.h
index 764ee5cb5d1fa50db1f8a2e56146efdfc32eb5a4..64d613313133f016e53f9ce798f0ff5726c50e4c 100644
--- a/chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_animation_controller.h
+++ b/chrome/browser/ui/cocoa/fullscreen/fullscreen_toolbar_animation_controller.h
@@ -42,6 +42,9 @@ class FullscreenToolbarAnimationController : public gfx::AnimationDelegate {
// Returns true if |animation_| is running.
bool IsAnimationRunning() const;
+ // Only for testing. Sets the duration of |animation_|.
+ void SetAnimationDuration(CGFloat duration);
+
// gfx::AnimationDelegate:
void AnimationProgressed(const gfx::Animation* animation) override;
void AnimationEnded(const gfx::Animation* animation) override;

Powered by Google App Engine
This is Rietveld 408576698