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

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

Issue 1415763008: cc: Remove ThreadProxy dependency on LTHI::CurrentBeginFrameArgs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@CompositorTimingHistory2
Patch Set: 80 chars Created 5 years, 1 month 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/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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 void OnDrawForOutputSurface() override; 216 void OnDrawForOutputSurface() override;
217 // This should only be called by LayerTreeHostImpl::PostFrameTimingEvents. 217 // This should only be called by LayerTreeHostImpl::PostFrameTimingEvents.
218 void PostFrameTimingEventsOnImplThread( 218 void PostFrameTimingEventsOnImplThread(
219 scoped_ptr<FrameTimingTracker::CompositeTimingSet> composite_events, 219 scoped_ptr<FrameTimingTracker::CompositeTimingSet> composite_events,
220 scoped_ptr<FrameTimingTracker::MainFrameTimingSet> main_frame_events) 220 scoped_ptr<FrameTimingTracker::MainFrameTimingSet> main_frame_events)
221 override; 221 override;
222 222
223 // SchedulerClient implementation 223 // SchedulerClient implementation
224 void WillBeginImplFrame(const BeginFrameArgs& args) override; 224 void WillBeginImplFrame(const BeginFrameArgs& args) override;
225 void DidFinishImplFrame() override; 225 void DidFinishImplFrame() override;
226 void ScheduledActionSendBeginMainFrame() override; 226 void ScheduledActionSendBeginMainFrame(const BeginFrameArgs& args) override;
227 DrawResult ScheduledActionDrawAndSwapIfPossible() override; 227 DrawResult ScheduledActionDrawAndSwapIfPossible() override;
228 DrawResult ScheduledActionDrawAndSwapForced() override; 228 DrawResult ScheduledActionDrawAndSwapForced() override;
229 void ScheduledActionAnimate() override; 229 void ScheduledActionAnimate() override;
230 void ScheduledActionCommit() override; 230 void ScheduledActionCommit() override;
231 void ScheduledActionActivateSyncTree() override; 231 void ScheduledActionActivateSyncTree() override;
232 void ScheduledActionBeginOutputSurfaceCreation() override; 232 void ScheduledActionBeginOutputSurfaceCreation() override;
233 void ScheduledActionPrepareTiles() override; 233 void ScheduledActionPrepareTiles() override;
234 void ScheduledActionInvalidateOutputSurface() override; 234 void ScheduledActionInvalidateOutputSurface() override;
235 void SendBeginFramesToChildren(const BeginFrameArgs& args) override; 235 void SendBeginFramesToChildren(const BeginFrameArgs& args) override;
236 void SendBeginMainFrameNotExpectedSoon() override; 236 void SendBeginMainFrameNotExpectedSoon() override;
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 326
327 base::WeakPtr<ThreadProxy> main_thread_weak_ptr_; 327 base::WeakPtr<ThreadProxy> main_thread_weak_ptr_;
328 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_; 328 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_;
329 329
330 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); 330 DISALLOW_COPY_AND_ASSIGN(ThreadProxy);
331 }; 331 };
332 332
333 } // namespace cc 333 } // namespace cc
334 334
335 #endif // CC_TREES_THREAD_PROXY_H_ 335 #endif // CC_TREES_THREAD_PROXY_H_
OLDNEW
« no previous file with comments | « cc/trees/single_thread_proxy.cc ('k') | cc/trees/thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698