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

Side by Side Diff: cc/animation/animation_registrar.cc

Issue 1734063003: Share animations from compositor to main thread. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix win trybot failure Created 4 years, 9 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_player.cc ('k') | cc/animation/element_animations.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 #include "cc/animation/animation_registrar.h" 5 #include "cc/animation/animation_registrar.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "base/trace_event/trace_event.h" 9 #include "base/trace_event/trace_event.h"
10 #include "base/trace_event/trace_event_argument.h" 10 #include "base/trace_event/trace_event_argument.h"
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 break; 125 break;
126 126
127 case AnimationEvent::ABORTED: 127 case AnimationEvent::ABORTED:
128 (*iter).second->NotifyAnimationAborted(events->events_[event_index]); 128 (*iter).second->NotifyAnimationAborted(events->events_[event_index]);
129 break; 129 break;
130 130
131 case AnimationEvent::PROPERTY_UPDATE: 131 case AnimationEvent::PROPERTY_UPDATE:
132 (*iter).second->NotifyAnimationPropertyUpdate( 132 (*iter).second->NotifyAnimationPropertyUpdate(
133 events->events_[event_index]); 133 events->events_[event_index]);
134 break; 134 break;
135
136 case AnimationEvent::TAKEOVER:
137 (*iter).second->NotifyAnimationTakeover(events->events_[event_index]);
138 break;
135 } 139 }
136 } 140 }
137 } 141 }
138 } 142 }
139 143
140 } // namespace cc 144 } // namespace cc
OLDNEW
« no previous file with comments | « cc/animation/animation_player.cc ('k') | cc/animation/element_animations.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698