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

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

Issue 1180693002: Update from https://crrev.com/333737 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: rebased Created 5 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SERVICES_VIEW_MANAGER_ANIMATION_RUNNER_H_ 5 #ifndef SERVICES_VIEW_MANAGER_ANIMATION_RUNNER_H_
6 #define SERVICES_VIEW_MANAGER_ANIMATION_RUNNER_H_ 6 #define SERVICES_VIEW_MANAGER_ANIMATION_RUNNER_H_
7 7
8 #include <algorithm> 8 #include <algorithm>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 93
94 // Removes |view| from both |view_to_animation_map_| and |id_to_views_map_|. 94 // Removes |view| from both |view_to_animation_map_| and |id_to_views_map_|.
95 // Returns true if there are no more views animating with the animation id 95 // Returns true if there are no more views animating with the animation id
96 // the view is associated with. 96 // the view is associated with.
97 bool RemoveViewFromMaps(ServerView* view); 97 bool RemoveViewFromMaps(ServerView* view);
98 98
99 AnimationId next_id_; 99 AnimationId next_id_;
100 100
101 base::TimeTicks last_tick_time_; 101 base::TimeTicks last_tick_time_;
102 102
103 ObserverList<AnimationRunnerObserver> observers_; 103 base::ObserverList<AnimationRunnerObserver> observers_;
104 104
105 ViewToAnimationMap view_to_animation_map_; 105 ViewToAnimationMap view_to_animation_map_;
106 106
107 IdToViewsMap id_to_views_map_; 107 IdToViewsMap id_to_views_map_;
108 108
109 DISALLOW_COPY_AND_ASSIGN(AnimationRunner); 109 DISALLOW_COPY_AND_ASSIGN(AnimationRunner);
110 }; 110 };
111 111
112 } // namespace view_manager 112 } // namespace view_manager
113 113
114 #endif // SERVICES_VIEW_MANAGER_ANIMATION_RUNNER_H_ 114 #endif // SERVICES_VIEW_MANAGER_ANIMATION_RUNNER_H_
OLDNEW
« no previous file with comments | « services/url_response_disk_cache/url_response_disk_cache_impl.cc ('k') | services/view_manager/server_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698