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

Unified Diff: cc/trees/remote_channel_impl.h

Issue 2267263002: cc: Delete all the RendererCapabilities. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove-prepare-mailbox-param
Patch Set: renderer-caps: rebase 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/remote_channel_impl.h
diff --git a/cc/trees/remote_channel_impl.h b/cc/trees/remote_channel_impl.h
index 81ae01b3c150e9ac2f9f0a2160d86e6badaecb46..b5fa1816f0b96c5cc6acdd5e37fd3248a14b9b55 100644
--- a/cc/trees/remote_channel_impl.h
+++ b/cc/trees/remote_channel_impl.h
@@ -105,8 +105,6 @@ class CC_EXPORT RemoteChannelImpl : public ChannelImpl,
// this queue if we are waiting for a new output surface to be initialized.
std::queue<proto::CompositorMessageToImpl> pending_messages;
- RendererCapabilities renderer_capabilities;
-
base::WeakPtrFactory<RemoteChannelImpl> remote_channel_weak_factory;
MainThreadOnly(RemoteChannelImpl*,
@@ -136,7 +134,6 @@ class CC_EXPORT RemoteChannelImpl : public ChannelImpl,
void SetOutputSurface(OutputSurface* output_surface) override;
void ReleaseOutputSurface() override;
void SetVisible(bool visible) override;
- const RendererCapabilities& GetRendererCapabilities() const override;
void SetNeedsAnimate() override;
void SetNeedsUpdateLayers() override;
void SetNeedsCommit() override;
@@ -160,16 +157,12 @@ class CC_EXPORT RemoteChannelImpl : public ChannelImpl,
// Called on impl thread.
// ChannelImpl implementation
void DidCompleteSwapBuffers() override;
- void SetRendererCapabilitiesMainCopy(
- const RendererCapabilities& capabilities) override;
void BeginMainFrameNotExpectedSoon() override;
void DidCommitAndDrawFrame() override;
void SetAnimationEvents(std::unique_ptr<AnimationEvents> queue) override;
void DidLoseOutputSurface() override;
void RequestNewOutputSurface() override;
- void DidInitializeOutputSurface(
- bool success,
- const RendererCapabilities& capabilities) override;
+ void DidInitializeOutputSurface(bool success) override;
void DidCompletePageScaleAnimation() override;
void BeginMainFrame(std::unique_ptr<BeginMainFrameAndCommitState>
begin_main_frame_state) override;
@@ -182,9 +175,7 @@ class CC_EXPORT RemoteChannelImpl : public ChannelImpl,
void DidCommitAndDrawFrameOnMain();
void DidLoseOutputSurfaceOnMain();
void RequestNewOutputSurfaceOnMain();
- void DidInitializeOutputSurfaceOnMain(
- bool success,
- const RendererCapabilities& capabilities);
+ void DidInitializeOutputSurfaceOnMain(bool success);
void SendMessageProtoOnMain(std::unique_ptr<proto::CompositorMessage> proto);
void PostSetNeedsRedrawToImpl(const gfx::Rect& damaged_rect);
« 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