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

Unified Diff: cc/trees/channel_impl.h

Issue 2282433002: Revert of cc: Delete all the RendererCapabilities. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove-prepare-mailbox-param
Patch Set: 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/test/fake_proxy.cc ('k') | cc/trees/layer_tree_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/channel_impl.h
diff --git a/cc/trees/channel_impl.h b/cc/trees/channel_impl.h
index d8c8d3900326e4c2bc92b787f1bb480d96de9f12..c0985b7e03e68f6145c981e1aeb50ef52359fb6b 100644
--- a/cc/trees/channel_impl.h
+++ b/cc/trees/channel_impl.h
@@ -6,6 +6,7 @@
#define CC_TREES_CHANNEL_IMPL_H_
#include "cc/base/cc_export.h"
+#include "cc/output/renderer_capabilities.h"
#include "cc/trees/proxy_common.h"
namespace cc {
@@ -20,12 +21,16 @@
public:
// Interface for commands sent to ProxyMain
virtual void DidCompleteSwapBuffers() = 0;
+ virtual void SetRendererCapabilitiesMainCopy(
+ const RendererCapabilities& capabilities) = 0;
virtual void BeginMainFrameNotExpectedSoon() = 0;
virtual void DidCommitAndDrawFrame() = 0;
virtual void SetAnimationEvents(std::unique_ptr<AnimationEvents> queue) = 0;
virtual void DidLoseOutputSurface() = 0;
virtual void RequestNewOutputSurface() = 0;
- virtual void DidInitializeOutputSurface(bool success) = 0;
+ virtual void DidInitializeOutputSurface(
+ bool success,
+ const RendererCapabilities& capabilities) = 0;
virtual void DidCompletePageScaleAnimation() = 0;
virtual void BeginMainFrame(
std::unique_ptr<BeginMainFrameAndCommitState> begin_main_frame_state) = 0;
« no previous file with comments | « cc/test/fake_proxy.cc ('k') | cc/trees/layer_tree_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698