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

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

Issue 2888043004: [cc] Add and plumb CFS::DidNotProduceFrame. (Closed)
Patch Set: remove ExternalBFS::OnDidFinishFrame and related ack tracking. Created 3 years, 7 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
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 <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 void DidActivateSyncTree() override; 91 void DidActivateSyncTree() override;
92 void WillPrepareTiles() override; 92 void WillPrepareTiles() override;
93 void DidPrepareTiles() override; 93 void DidPrepareTiles() override;
94 void DidCompletePageScaleAnimationOnImplThread() override; 94 void DidCompletePageScaleAnimationOnImplThread() override;
95 void OnDrawForCompositorFrameSink(bool resourceless_software_draw) override; 95 void OnDrawForCompositorFrameSink(bool resourceless_software_draw) override;
96 void NeedsImplSideInvalidation() override; 96 void NeedsImplSideInvalidation() override;
97 97
98 // SchedulerClient implementation 98 // SchedulerClient implementation
99 void WillBeginImplFrame(const BeginFrameArgs& args) override; 99 void WillBeginImplFrame(const BeginFrameArgs& args) override;
100 void DidFinishImplFrame() override; 100 void DidFinishImplFrame() override;
101 void BeginFrameDidNotProduceFrame(const BeginFrameAck& ack) override;
101 void ScheduledActionSendBeginMainFrame(const BeginFrameArgs& args) override; 102 void ScheduledActionSendBeginMainFrame(const BeginFrameArgs& args) override;
102 DrawResult ScheduledActionDrawIfPossible() override; 103 DrawResult ScheduledActionDrawIfPossible() override;
103 DrawResult ScheduledActionDrawForced() override; 104 DrawResult ScheduledActionDrawForced() override;
104 void ScheduledActionCommit() override; 105 void ScheduledActionCommit() override;
105 void ScheduledActionActivateSyncTree() override; 106 void ScheduledActionActivateSyncTree() override;
106 void ScheduledActionBeginCompositorFrameSinkCreation() override; 107 void ScheduledActionBeginCompositorFrameSinkCreation() override;
107 void ScheduledActionPrepareTiles() override; 108 void ScheduledActionPrepareTiles() override;
108 void ScheduledActionInvalidateCompositorFrameSink() override; 109 void ScheduledActionInvalidateCompositorFrameSink() override;
109 void ScheduledActionPerformImplSideInvalidation() override; 110 void ScheduledActionPerformImplSideInvalidation() override;
110 void SendBeginMainFrameNotExpectedSoon() override; 111 void SendBeginMainFrameNotExpectedSoon() override;
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 // A weak pointer to ProxyMain that is invalidated when CompositorFrameSink is 156 // A weak pointer to ProxyMain that is invalidated when CompositorFrameSink is
156 // released. 157 // released.
157 base::WeakPtr<ProxyMain> proxy_main_frame_sink_bound_weak_ptr_; 158 base::WeakPtr<ProxyMain> proxy_main_frame_sink_bound_weak_ptr_;
158 159
159 DISALLOW_COPY_AND_ASSIGN(ProxyImpl); 160 DISALLOW_COPY_AND_ASSIGN(ProxyImpl);
160 }; 161 };
161 162
162 } // namespace cc 163 } // namespace cc
163 164
164 #endif // CC_TREES_PROXY_IMPL_H_ 165 #endif // CC_TREES_PROXY_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698