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

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

Issue 960873002: Update from https://crrev.com/318214 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 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/trees/single_thread_proxy.h ('k') | cc/trees/thread_proxy.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 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_THREAD_PROXY_H_ 5 #ifndef CC_TREES_THREAD_PROXY_H_
6 #define CC_TREES_THREAD_PROXY_H_ 6 #define CC_TREES_THREAD_PROXY_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 void SetNeedsRedrawRectOnImplThread(const gfx::Rect& dirty_rect) override; 198 void SetNeedsRedrawRectOnImplThread(const gfx::Rect& dirty_rect) override;
199 void SetNeedsAnimateOnImplThread() override; 199 void SetNeedsAnimateOnImplThread() override;
200 void SetNeedsPrepareTilesOnImplThread() override; 200 void SetNeedsPrepareTilesOnImplThread() override;
201 void SetNeedsCommitOnImplThread() override; 201 void SetNeedsCommitOnImplThread() override;
202 void PostAnimationEventsToMainThreadOnImplThread( 202 void PostAnimationEventsToMainThreadOnImplThread(
203 scoped_ptr<AnimationEventsVector> queue) override; 203 scoped_ptr<AnimationEventsVector> queue) override;
204 bool ReduceContentsTextureMemoryOnImplThread(size_t limit_bytes, 204 bool ReduceContentsTextureMemoryOnImplThread(size_t limit_bytes,
205 int priority_cutoff) override; 205 int priority_cutoff) override;
206 bool IsInsideDraw() override; 206 bool IsInsideDraw() override;
207 void RenewTreePriority() override; 207 void RenewTreePriority() override;
208 void PostDelayedScrollbarFadeOnImplThread(const base::Closure& start_fade, 208 void PostDelayedAnimationTaskOnImplThread(const base::Closure& task,
209 base::TimeDelta delay) override; 209 base::TimeDelta delay) override;
210 void DidActivateSyncTree() override; 210 void DidActivateSyncTree() override;
211 void DidPrepareTiles() override; 211 void DidPrepareTiles() override;
212 void DidCompletePageScaleAnimationOnImplThread() override; 212 void DidCompletePageScaleAnimationOnImplThread() override;
213 213
214 // SchedulerClient implementation 214 // SchedulerClient implementation
215 void WillBeginImplFrame(const BeginFrameArgs& args) override; 215 void WillBeginImplFrame(const BeginFrameArgs& args) override;
216 void ScheduledActionSendBeginMainFrame() override; 216 void ScheduledActionSendBeginMainFrame() override;
217 DrawResult ScheduledActionDrawAndSwapIfPossible() override; 217 DrawResult ScheduledActionDrawAndSwapIfPossible() override;
218 DrawResult ScheduledActionDrawAndSwapForced() override; 218 DrawResult ScheduledActionDrawAndSwapForced() override;
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 304
305 base::WeakPtr<ThreadProxy> main_thread_weak_ptr_; 305 base::WeakPtr<ThreadProxy> main_thread_weak_ptr_;
306 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_; 306 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_;
307 307
308 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); 308 DISALLOW_COPY_AND_ASSIGN(ThreadProxy);
309 }; 309 };
310 310
311 } // namespace cc 311 } // namespace cc
312 312
313 #endif // CC_TREES_THREAD_PROXY_H_ 313 #endif // CC_TREES_THREAD_PROXY_H_
OLDNEW
« no previous file with comments | « cc/trees/single_thread_proxy.h ('k') | cc/trees/thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698