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

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

Issue 1895873006: compositor-worker: Initialize CW machinery plumbing to compositor and fire CW rAF callbacks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add big fat TODOs in scheduler code to implement proper idle task scheduling and ensure GC is runni… Created 4 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 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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 void SetNeedsRedraw(const gfx::Rect& damage_rect) override; 151 void SetNeedsRedraw(const gfx::Rect& damage_rect) override;
152 void SetNextCommitWaitsForActivation() override; 152 void SetNextCommitWaitsForActivation() override;
153 void NotifyInputThrottledUntilCommit() override; 153 void NotifyInputThrottledUntilCommit() override;
154 void SetDeferCommits(bool defer_commits) override; 154 void SetDeferCommits(bool defer_commits) override;
155 void MainThreadHasStoppedFlinging() override; 155 void MainThreadHasStoppedFlinging() override;
156 bool CommitRequested() const override; 156 bool CommitRequested() const override;
157 bool BeginMainFrameRequested() const override; 157 bool BeginMainFrameRequested() const override;
158 void Start( 158 void Start(
159 std::unique_ptr<BeginFrameSource> external_begin_frame_source) override; 159 std::unique_ptr<BeginFrameSource> external_begin_frame_source) override;
160 void Stop() override; 160 void Stop() override;
161 void SetMutator(std::unique_ptr<LayerTreeMutator> mutator) override;
161 bool SupportsImplScrolling() const override; 162 bool SupportsImplScrolling() const override;
162 void SetAuthoritativeVSyncInterval(const base::TimeDelta& interval) override; 163 void SetAuthoritativeVSyncInterval(const base::TimeDelta& interval) override;
163 void UpdateTopControlsState(TopControlsState constraints, 164 void UpdateTopControlsState(TopControlsState constraints,
164 TopControlsState current, 165 TopControlsState current,
165 bool animate) override; 166 bool animate) override;
166 void SetOutputIsSecure(bool output_is_secure) override; 167 void SetOutputIsSecure(bool output_is_secure) override;
167 bool MainFrameWillHappenForTesting() override; 168 bool MainFrameWillHappenForTesting() override;
168 169
169 // Called on impl thread. 170 // Called on impl thread.
170 // ChannelImpl implementation 171 // ChannelImpl implementation
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 CompositorThreadOnly compositor_thread_vars_unsafe_; 216 CompositorThreadOnly compositor_thread_vars_unsafe_;
216 217
217 base::WeakPtr<ProxyImpl> proxy_impl_weak_ptr_; 218 base::WeakPtr<ProxyImpl> proxy_impl_weak_ptr_;
218 219
219 DISALLOW_COPY_AND_ASSIGN(RemoteChannelImpl); 220 DISALLOW_COPY_AND_ASSIGN(RemoteChannelImpl);
220 }; 221 };
221 222
222 } // namespace cc 223 } // namespace cc
223 224
224 #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