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/trees/threaded_channel.h

Issue 1584743002: CC Animation: Replace AnimiationEventsVector with AnimiationEvents class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 11 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/trees/single_thread_proxy.cc ('k') | cc/trees/threaded_channel.cc » ('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 2015 The Chromium Authors. All rights reserved. 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 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 CC_TREES_THREADED_CHANNEL_H_ 5 #ifndef CC_TREES_THREADED_CHANNEL_H_
6 #define CC_TREES_THREADED_CHANNEL_H_ 6 #define CC_TREES_THREADED_CHANNEL_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 LayerTreeHost* layer_tree_host, 112 LayerTreeHost* layer_tree_host,
113 scoped_ptr<BeginFrameSource> external_begin_frame_source) override; 113 scoped_ptr<BeginFrameSource> external_begin_frame_source) override;
114 void SynchronouslyCloseImpl() override; 114 void SynchronouslyCloseImpl() override;
115 115
116 // ChannelImpl Implementation 116 // ChannelImpl Implementation
117 void DidCompleteSwapBuffers() override; 117 void DidCompleteSwapBuffers() override;
118 void SetRendererCapabilitiesMainCopy( 118 void SetRendererCapabilitiesMainCopy(
119 const RendererCapabilities& capabilities) override; 119 const RendererCapabilities& capabilities) override;
120 void BeginMainFrameNotExpectedSoon() override; 120 void BeginMainFrameNotExpectedSoon() override;
121 void DidCommitAndDrawFrame() override; 121 void DidCommitAndDrawFrame() override;
122 void SetAnimationEvents(scoped_ptr<AnimationEventsVector> queue) override; 122 void SetAnimationEvents(scoped_ptr<AnimationEvents> events) override;
123 void DidLoseOutputSurface() override; 123 void DidLoseOutputSurface() override;
124 void RequestNewOutputSurface() override; 124 void RequestNewOutputSurface() override;
125 void DidInitializeOutputSurface( 125 void DidInitializeOutputSurface(
126 bool success, 126 bool success,
127 const RendererCapabilities& capabilities) override; 127 const RendererCapabilities& capabilities) override;
128 void DidCompletePageScaleAnimation() override; 128 void DidCompletePageScaleAnimation() override;
129 void PostFrameTimingEventsOnMain( 129 void PostFrameTimingEventsOnMain(
130 scoped_ptr<FrameTimingTracker::CompositeTimingSet> composite_events, 130 scoped_ptr<FrameTimingTracker::CompositeTimingSet> composite_events,
131 scoped_ptr<FrameTimingTracker::MainFrameTimingSet> main_frame_events) 131 scoped_ptr<FrameTimingTracker::MainFrameTimingSet> main_frame_events)
132 override; 132 override;
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 // Used on the main thread to safely queue calls to ProxyImpl to be run on the 211 // Used on the main thread to safely queue calls to ProxyImpl to be run on the
212 // impl thread. 212 // impl thread.
213 base::WeakPtr<ProxyImpl> proxy_impl_weak_ptr_; 213 base::WeakPtr<ProxyImpl> proxy_impl_weak_ptr_;
214 214
215 DISALLOW_COPY_AND_ASSIGN(ThreadedChannel); 215 DISALLOW_COPY_AND_ASSIGN(ThreadedChannel);
216 }; 216 };
217 217
218 } // namespace cc 218 } // namespace cc
219 219
220 #endif // CC_TREES_THREADED_CHANNEL_H_ 220 #endif // CC_TREES_THREADED_CHANNEL_H_
OLDNEW
« no previous file with comments | « cc/trees/single_thread_proxy.cc ('k') | cc/trees/threaded_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698