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

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

Issue 2231093003: cc: Remove FinishAllRendering, as it doesn't do anything anymore. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: finishallrendering: . Created 4 years, 4 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/proxy_main.cc ('k') | cc/trees/remote_channel_impl.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 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 base::WeakPtr<RemoteChannelImpl> remote_channel_weak_ptr); 124 base::WeakPtr<RemoteChannelImpl> remote_channel_weak_ptr);
125 ~CompositorThreadOnly(); 125 ~CompositorThreadOnly();
126 }; 126 };
127 127
128 // called on main thread. 128 // called on main thread.
129 // RemoteProtoChannel::ProtoReceiver implementation. 129 // RemoteProtoChannel::ProtoReceiver implementation.
130 void OnProtoReceived( 130 void OnProtoReceived(
131 std::unique_ptr<proto::CompositorMessage> proto) override; 131 std::unique_ptr<proto::CompositorMessage> proto) override;
132 132
133 // Proxy implementation 133 // Proxy implementation
134 void FinishAllRendering() override;
135 bool IsStarted() const override; 134 bool IsStarted() const override;
136 bool CommitToActiveTree() const override; 135 bool CommitToActiveTree() const override;
137 void SetOutputSurface(OutputSurface* output_surface) override; 136 void SetOutputSurface(OutputSurface* output_surface) override;
138 void ReleaseOutputSurface() override; 137 void ReleaseOutputSurface() override;
139 void SetVisible(bool visible) override; 138 void SetVisible(bool visible) override;
140 const RendererCapabilities& GetRendererCapabilities() const override; 139 const RendererCapabilities& GetRendererCapabilities() const override;
141 void SetNeedsAnimate() override; 140 void SetNeedsAnimate() override;
142 void SetNeedsUpdateLayers() override; 141 void SetNeedsUpdateLayers() override;
143 void SetNeedsCommit() override; 142 void SetNeedsCommit() override;
144 void SetNeedsRedraw(const gfx::Rect& damage_rect) override; 143 void SetNeedsRedraw(const gfx::Rect& damage_rect) override;
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 CompositorThreadOnly compositor_thread_vars_unsafe_; 207 CompositorThreadOnly compositor_thread_vars_unsafe_;
209 208
210 base::WeakPtr<ProxyImpl> proxy_impl_weak_ptr_; 209 base::WeakPtr<ProxyImpl> proxy_impl_weak_ptr_;
211 210
212 DISALLOW_COPY_AND_ASSIGN(RemoteChannelImpl); 211 DISALLOW_COPY_AND_ASSIGN(RemoteChannelImpl);
213 }; 212 };
214 213
215 } // namespace cc 214 } // namespace cc
216 215
217 #endif // CC_TREES_REMOTE_CHANNEL_IMPL_H_ 216 #endif // CC_TREES_REMOTE_CHANNEL_IMPL_H_
OLDNEW
« no previous file with comments | « cc/trees/proxy_main.cc ('k') | cc/trees/remote_channel_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698