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

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

Issue 1369393002: Added a CallbackLayerAnimationObserver. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed concerns from patch set 8. Created 5 years, 2 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 2015 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_ANIMATION_OBSERVER_TEST_API_H_
6 #define UI_COMPOSITOR_TEST_LAYER_ANIMATION_OBSERVER_TEST_API_H_
7
8 #include "base/macros.h"
9 #include "ui/compositor/layer_animation_observer.h"
10
11 namespace ui {
12 namespace test {
13
14 // Test API to provide internal access to the LayerAnimationObserver class.
15 class LayerAnimationObserverTestApi {
16 public:
17 explicit LayerAnimationObserverTestApi(LayerAnimationObserver* observer);
18
19 // Wrappers for LayerAnimationObserver.
20 void AttachedToSequence(LayerAnimationSequence* sequence);
21 void DetachedFromSequence(LayerAnimationSequence* sequence,
22 bool send_notification);
23
24 private:
25 // The instance to provide internal access to.
26 LayerAnimationObserver* observer_;
27
28 DISALLOW_COPY_AND_ASSIGN(LayerAnimationObserverTestApi);
29 };
30
31 } // namespace test
32 } // namespace ui
33
34 #endif // UI_COMPOSITOR_TEST_LAYER_ANIMATION_OBSERVER_TEST_API_H_
OLDNEW
« no previous file with comments | « ui/compositor/layer_animation_observer.h ('k') | ui/compositor/test/layer_animation_observer_test_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698