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

Side by Side Diff: cc/trees/proxy_impl.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/layer_tree_host_impl_unittest.cc ('k') | cc/trees/proxy_impl.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_PROXY_IMPL_H_ 5 #ifndef CC_TREES_PROXY_IMPL_H_
6 #define CC_TREES_PROXY_IMPL_H_ 6 #define CC_TREES_PROXY_IMPL_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "cc/base/completion_event.h" 10 #include "cc/base/completion_event.h"
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 // Please call these 3 functions through 88 // Please call these 3 functions through
89 // LayerTreeHostImpl's SetNeedsRedraw(), SetNeedsRedrawRect() and 89 // LayerTreeHostImpl's SetNeedsRedraw(), SetNeedsRedrawRect() and
90 // SetNeedsOneBeginImplFrame(). 90 // SetNeedsOneBeginImplFrame().
91 void SetNeedsRedrawOnImplThread() override; 91 void SetNeedsRedrawOnImplThread() override;
92 void SetNeedsRedrawRectOnImplThread(const gfx::Rect& dirty_rect) override; 92 void SetNeedsRedrawRectOnImplThread(const gfx::Rect& dirty_rect) override;
93 void SetNeedsOneBeginImplFrameOnImplThread() override; 93 void SetNeedsOneBeginImplFrameOnImplThread() override;
94 void SetNeedsPrepareTilesOnImplThread() override; 94 void SetNeedsPrepareTilesOnImplThread() override;
95 void SetNeedsCommitOnImplThread() override; 95 void SetNeedsCommitOnImplThread() override;
96 void SetVideoNeedsBeginFrames(bool needs_begin_frames) override; 96 void SetVideoNeedsBeginFrames(bool needs_begin_frames) override;
97 void PostAnimationEventsToMainThreadOnImplThread( 97 void PostAnimationEventsToMainThreadOnImplThread(
98 scoped_ptr<AnimationEventsVector> queue) override; 98 scoped_ptr<AnimationEvents> events) override;
99 bool IsInsideDraw() override; 99 bool IsInsideDraw() override;
100 void RenewTreePriority() override; 100 void RenewTreePriority() override;
101 void PostDelayedAnimationTaskOnImplThread(const base::Closure& task, 101 void PostDelayedAnimationTaskOnImplThread(const base::Closure& task,
102 base::TimeDelta delay) override; 102 base::TimeDelta delay) override;
103 void DidActivateSyncTree() override; 103 void DidActivateSyncTree() override;
104 void WillPrepareTiles() override; 104 void WillPrepareTiles() override;
105 void DidPrepareTiles() override; 105 void DidPrepareTiles() override;
106 void DidCompletePageScaleAnimationOnImplThread() override; 106 void DidCompletePageScaleAnimationOnImplThread() override;
107 void OnDrawForOutputSurface(bool resourceless_software_draw) override; 107 void OnDrawForOutputSurface(bool resourceless_software_draw) override;
108 // This should only be called by LayerTreeHostImpl::PostFrameTimingEvents. 108 // This should only be called by LayerTreeHostImpl::PostFrameTimingEvents.
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 // Use accessors instead of this variable directly. 167 // Use accessors instead of this variable directly.
168 BlockedMainCommitOnly main_thread_blocked_commit_vars_unsafe_; 168 BlockedMainCommitOnly main_thread_blocked_commit_vars_unsafe_;
169 BlockedMainCommitOnly& blocked_main_commit(); 169 BlockedMainCommitOnly& blocked_main_commit();
170 170
171 DISALLOW_COPY_AND_ASSIGN(ProxyImpl); 171 DISALLOW_COPY_AND_ASSIGN(ProxyImpl);
172 }; 172 };
173 173
174 } // namespace cc 174 } // namespace cc
175 175
176 #endif // CC_TREES_PROXY_IMPL_H_ 176 #endif // CC_TREES_PROXY_IMPL_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_impl_unittest.cc ('k') | cc/trees/proxy_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698