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

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

Issue 1841083007: Remove SendBeginFramesToChildren plumbing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scheduler_output_surface_client_set_beginframesource
Patch Set: Remove some comments Created 4 years, 8 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_REMOTE_CHANNEL_IMPL_H_ 5 #ifndef CC_TREES_REMOTE_CHANNEL_IMPL_H_
6 #define CC_TREES_REMOTE_CHANNEL_IMPL_H_ 6 #define CC_TREES_REMOTE_CHANNEL_IMPL_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "cc/base/cc_export.h" 10 #include "cc/base/cc_export.h"
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 void SetNeedsRedraw(const gfx::Rect& damage_rect) override; 150 void SetNeedsRedraw(const gfx::Rect& damage_rect) override;
151 void SetNextCommitWaitsForActivation() override; 151 void SetNextCommitWaitsForActivation() override;
152 void NotifyInputThrottledUntilCommit() override; 152 void NotifyInputThrottledUntilCommit() override;
153 void SetDeferCommits(bool defer_commits) override; 153 void SetDeferCommits(bool defer_commits) override;
154 void MainThreadHasStoppedFlinging() override; 154 void MainThreadHasStoppedFlinging() override;
155 bool CommitRequested() const override; 155 bool CommitRequested() const override;
156 bool BeginMainFrameRequested() const override; 156 bool BeginMainFrameRequested() const override;
157 void Start(scoped_ptr<BeginFrameSource> external_begin_frame_source) override; 157 void Start(scoped_ptr<BeginFrameSource> external_begin_frame_source) override;
158 void Stop() override; 158 void Stop() override;
159 bool SupportsImplScrolling() const override; 159 bool SupportsImplScrolling() const override;
160 void SetChildrenNeedBeginFrames(bool children_need_begin_frames) override;
161 void SetAuthoritativeVSyncInterval(const base::TimeDelta& interval) override; 160 void SetAuthoritativeVSyncInterval(const base::TimeDelta& interval) override;
162 void UpdateTopControlsState(TopControlsState constraints, 161 void UpdateTopControlsState(TopControlsState constraints,
163 TopControlsState current, 162 TopControlsState current,
164 bool animate) override; 163 bool animate) override;
165 void SetOutputIsSecure(bool output_is_secure) override; 164 void SetOutputIsSecure(bool output_is_secure) override;
166 bool MainFrameWillHappenForTesting() override; 165 bool MainFrameWillHappenForTesting() override;
167 166
168 // Called on impl thread. 167 // Called on impl thread.
169 // ChannelImpl implementation 168 // ChannelImpl implementation
170 void DidCompleteSwapBuffers() override; 169 void DidCompleteSwapBuffers() override;
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 CompositorThreadOnly compositor_thread_vars_unsafe_; 216 CompositorThreadOnly compositor_thread_vars_unsafe_;
218 217
219 base::WeakPtr<ProxyImpl> proxy_impl_weak_ptr_; 218 base::WeakPtr<ProxyImpl> proxy_impl_weak_ptr_;
220 219
221 DISALLOW_COPY_AND_ASSIGN(RemoteChannelImpl); 220 DISALLOW_COPY_AND_ASSIGN(RemoteChannelImpl);
222 }; 221 };
223 222
224 } // namespace cc 223 } // namespace cc
225 224
226 #endif // CC_TREES_REMOTE_CHANNEL_IMPL_H_ 225 #endif // CC_TREES_REMOTE_CHANNEL_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698