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

Side by Side Diff: cc/trees/single_thread_proxy.h

Issue 429743003: Rename Animate as Begin(Main)Frame (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Build fix. Created 6 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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_SINGLE_THREAD_PROXY_H_ 5 #ifndef CC_TREES_SINGLE_THREAD_PROXY_H_
6 #define CC_TREES_SINGLE_THREAD_PROXY_H_ 6 #define CC_TREES_SINGLE_THREAD_PROXY_H_
7 7
8 #include <limits> 8 #include <limits>
9 9
10 #include "base/time/time.h" 10 #include "base/time/time.h"
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 void CompositeImmediately(base::TimeTicks frame_begin_time); 114 void CompositeImmediately(base::TimeTicks frame_begin_time);
115 115
116 private: 116 private:
117 SingleThreadProxy( 117 SingleThreadProxy(
118 LayerTreeHost* layer_tree_host, 118 LayerTreeHost* layer_tree_host,
119 LayerTreeHostSingleThreadClient* client, 119 LayerTreeHostSingleThreadClient* client,
120 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner); 120 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner);
121 121
122 void BeginMainFrame(); 122 void BeginMainFrame();
123 void BeginMainFrameAbortedOnImplThread(); 123 void BeginMainFrameAbortedOnImplThread();
124 void DoCommit(base::TimeTicks frame_begin_time); 124 void DoCommit(const BeginFrameArgs& begin_frame_args);
125 DrawResult DoComposite(base::TimeTicks frame_begin_time, 125 DrawResult DoComposite(base::TimeTicks frame_begin_time,
126 LayerTreeHostImpl::FrameData* frame); 126 LayerTreeHostImpl::FrameData* frame);
127 void DoSwap(); 127 void DoSwap();
128 void DidCommitAndDrawFrame(); 128 void DidCommitAndDrawFrame();
129 129
130 bool ShouldComposite() const; 130 bool ShouldComposite() const;
131 void UpdateBackgroundAnimateTicking(); 131 void UpdateBackgroundAnimateTicking();
132 132
133 // Accessed on main thread only. 133 // Accessed on main thread only.
134 LayerTreeHost* layer_tree_host_; 134 LayerTreeHost* layer_tree_host_;
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 private: 212 private:
213 DebugScopedSetImplThread impl_thread_; 213 DebugScopedSetImplThread impl_thread_;
214 DebugScopedSetMainThreadBlocked main_thread_blocked_; 214 DebugScopedSetMainThreadBlocked main_thread_blocked_;
215 215
216 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); 216 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked);
217 }; 217 };
218 218
219 } // namespace cc 219 } // namespace cc
220 220
221 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ 221 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698