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

Side by Side Diff: cc/animation/animation_observer.h

Issue 2966793002: NOT FOR REVIEW - convert to cc animation
Patch Set: switch to transform operations 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
« no previous file with comments | « cc/animation/animation_curve.cc ('k') | cc/animation/animation_player.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CC_ANIMATION_ANIMATION_OBSERVER_H_
6 #define CC_ANIMATION_ANIMATION_OBSERVER_H_
7
8 #include "cc/animation/animation_export.h"
9 #include "ui/gfx/geometry/scroll_offset.h"
10 #include "ui/gfx/geometry/size_f.h"
11 #include "ui/gfx/transform.h"
12
13 namespace cc {
14
15 class FilterOperations;
16 class TransformOperations;
17
18 class CC_ANIMATION_EXPORT AnimationObserver {
19 public:
20 virtual ~AnimationObserver() {}
21 virtual void NotifyClientOpacityAnimated(float opacity,
22 bool notify_active_elements,
23 bool notify_pending_elements) {}
24 virtual void NotifyClientTransformOperationsAnimated(
25 const TransformOperations& operations,
26 bool notify_active_elements,
27 bool notify_pending_elements) {}
28 virtual void NotifyClientFilterAnimated(const FilterOperations& filter,
29 bool notify_active_elements,
30 bool notify_pending_elements) {}
31 virtual void NotifyClientScrollOffsetAnimated(
32 const gfx::ScrollOffset& scroll_offset,
33 bool notify_active_elements,
34 bool notify_pending_elements) {}
35 virtual void NotifyClientBoundsAnimated(const gfx::SizeF& size,
36 bool notify_active_elements,
37 bool notify_pending_elements) {}
38 };
39
40 } // namespace cc
41
42 #endif // CC_ANIMATION_ANIMATION_OBSERVER_H_
OLDNEW
« no previous file with comments | « cc/animation/animation_curve.cc ('k') | cc/animation/animation_player.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698