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

Unified Diff: cc/trees/threaded_channel.cc

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/trees/threaded_channel.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/threaded_channel.cc
diff --git a/cc/trees/threaded_channel.cc b/cc/trees/threaded_channel.cc
index 652aa68dd8fe5076689104cab59b4ed79cf1d4e6..113da6fd2cff501eb488b79915d8ffb0beeece53 100644
--- a/cc/trees/threaded_channel.cc
+++ b/cc/trees/threaded_channel.cc
@@ -199,6 +199,14 @@
impl().proxy_main_weak_ptr));
}
+void ThreadedChannel::SetRendererCapabilitiesMainCopy(
+ const RendererCapabilities& capabilities) {
+ DCHECK(IsImplThread());
+ MainThreadTaskRunner()->PostTask(
+ FROM_HERE, base::Bind(&ProxyMain::SetRendererCapabilities,
+ impl().proxy_main_weak_ptr, capabilities));
+}
+
void ThreadedChannel::BeginMainFrameNotExpectedSoon() {
DCHECK(IsImplThread());
MainThreadTaskRunner()->PostTask(
@@ -235,11 +243,13 @@
impl().proxy_main_weak_ptr));
}
-void ThreadedChannel::DidInitializeOutputSurface(bool success) {
+void ThreadedChannel::DidInitializeOutputSurface(
+ bool success,
+ const RendererCapabilities& capabilities) {
DCHECK(IsImplThread());
MainThreadTaskRunner()->PostTask(
FROM_HERE, base::Bind(&ProxyMain::DidInitializeOutputSurface,
- impl().proxy_main_weak_ptr, success));
+ impl().proxy_main_weak_ptr, success, capabilities));
}
void ThreadedChannel::DidCompletePageScaleAnimation() {
« no previous file with comments | « cc/trees/threaded_channel.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698