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

Side by Side Diff: services/view_manager/animation_runner_observer.h

Issue 772893004: Adds constants and runner for animations (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Merge Created 6 years 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 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 SERVICES_VIEW_MANAGER_ANIMATION_RUNNER_OBSERVER_H_
6 #define SERVICES_VIEW_MANAGER_ANIMATION_RUNNER_OBSERVER_H_
7
8 namespace mojo {
9 namespace service {
10
11 class ServerView;
12
13 class AnimationRunnerObserver {
14 public:
15 virtual void OnAnimationScheduled(const ServerView* view, uint32_t id) = 0;
16 virtual void OnAnimationDone(const ServerView* view, uint32_t id) = 0;
17 virtual void OnAnimationInterrupted(const ServerView* view, uint32_t id) = 0;
18 virtual void OnAnimationCanceled(const ServerView* view, uint32_t id) = 0;
19
20 protected:
21 virtual ~AnimationRunnerObserver() {}
22 };
23
24 } // namespace service
25 } // namespace mojo
26
27 #endif // SERVICES_VIEW_MANAGER_ANIMATION_RUNNER_OBSERVER_H_
OLDNEW
« no previous file with comments | « services/view_manager/animation_runner.cc ('k') | services/view_manager/animation_runner_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698