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

Side by Side Diff: ui/gfx/animation/animation_test_api.cc

Issue 2976873003: Added a nested class to gfx::Animation (Closed)
Patch Set: 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "ui/gfx/animation/animation_test_api.h"
6
7 #include "base/macros.h"
sky 2017/07/12 19:16:19 This include should be in the header.
newcomer 2017/07/13 21:19:28 Done.
8 #include "base/time/time.h"
9 #include "ui/gfx/animation/animation.h"
10
11 namespace gfx {
12 using AnimationTestApi = Animation::AnimationTestApi;
13
14 AnimationTestApi::AnimationTestApi(Animation* animation)
15 : animation_(animation) {}
16
17 AnimationTestApi::~AnimationTestApi() {}
18
19 void AnimationTestApi::SetStartTime(base::TimeTicks ticks) {
20 animation_->SetStartTime(ticks);
21 }
22
23 void AnimationTestApi::Step(base::TimeTicks ticks) {
24 animation_->Step(ticks);
25 }
26
27 } // namespace gfx
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698