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

Side by Side Diff: ui/compositor/test/layer_animator_collection_test_controller.h

Issue 291843012: compositor: Tick the UI animations from cc, instead of from timer callbacks. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2014 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 #ifndef UI_COMPOSITOR_TEST_LAYER_ANIMATOR_COLLECTION_TEST_CONTROLLER_H_
6 #define UI_COMPOSITOR_TEST_LAYER_ANIMATOR_COLLECTION_TEST_CONTROLLER_H_
7
8 #include "ui/compositor/layer_animator_collection.h"
9
10 namespace ui {
11
12 // Allows tests to access the animators in the collection.
13 class LayerAnimatorCollectionTestController {
14 public:
15 explicit LayerAnimatorCollectionTestController(
16 LayerAnimatorCollection* collection);
17 ~LayerAnimatorCollectionTestController();
18
19 void StopAllAnimators();
20
21 private:
22 LayerAnimatorCollection* collection_;
23
24 DISALLOW_COPY_AND_ASSIGN(LayerAnimatorCollectionTestController);
25 };
26
27 } // namespace ui
28
29 #endif // UI_COMPOSITOR_TEST_LAYER_ANIMATOR_COLLECTION_TEST_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698