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

Unified Diff: ui/gfx/animation/animation.h

Issue 2976873003: Added a nested class to gfx::Animation (Closed)
Patch Set: Removed animation export macro. Created 3 years, 5 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/gfx/BUILD.gn ('k') | ui/gfx/animation/animation_test_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/animation/animation.h
diff --git a/ui/gfx/animation/animation.h b/ui/gfx/animation/animation.h
index e26bb212d3a71a0df5edd882d83d72a1c50c7ad1..bc5e646195db69b7ce59704a1a575448e0f6eec1 100644
--- a/ui/gfx/animation/animation.h
+++ b/ui/gfx/animation/animation.h
@@ -19,6 +19,7 @@ namespace gfx {
class AnimationContainer;
class AnimationDelegate;
+class AnimationTestApi;
// Base class used in implementing animations. You only need use this class if
// you're implementing a new animation type, otherwise you'll likely want one of
@@ -92,6 +93,8 @@ class ANIMATION_EXPORT Animation : public AnimationContainerElement {
base::TimeDelta GetTimerInterval() const override;
private:
+ friend class AnimationTestApi;
+
// Interval for the animation.
const base::TimeDelta timer_interval_;
« no previous file with comments | « ui/gfx/BUILD.gn ('k') | ui/gfx/animation/animation_test_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698