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

Unified Diff: cc/trees/remote_channel_main.cc

Issue 2320823003: cc/blimp: Remove Initialize and Close messages. (Closed)
Patch Set: format Created 4 years, 3 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/remote_channel_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/remote_channel_main.cc
diff --git a/cc/trees/remote_channel_main.cc b/cc/trees/remote_channel_main.cc
index 5f28a2f1442b431eb270022258da7a21c059b4d5..92619ba06b763d28d0f87a2a12a95ae233cba648 100644
--- a/cc/trees/remote_channel_main.cc
+++ b/cc/trees/remote_channel_main.cc
@@ -75,12 +75,7 @@ void RemoteChannelMain::InitializeMutatorOnImpl(
}
void RemoteChannelMain::MainThreadHasStoppedFlingingOnImpl() {
- proto::CompositorMessage proto;
- proto::CompositorMessageToImpl* to_impl_proto = proto.mutable_to_impl();
- to_impl_proto->set_message_type(
- proto::CompositorMessageToImpl::MAIN_THREAD_HAS_STOPPED_FLINGING_ON_IMPL);
-
- SendMessageProto(proto);
+ NOTIMPLEMENTED();
}
void RemoteChannelMain::SetInputThrottledUntilCommitOnImpl(bool is_throttled) {}
@@ -229,25 +224,13 @@ void RemoteChannelMain::SynchronouslyInitializeImpl(
TRACE_EVENT0("cc.remote", "RemoteChannelMain::SynchronouslyInitializeImpl");
DCHECK(!initialized_);
- proto::CompositorMessage proto;
- proto::CompositorMessageToImpl* to_impl_proto = proto.mutable_to_impl();
- to_impl_proto->set_message_type(
- proto::CompositorMessageToImpl::INITIALIZE_IMPL);
-
- VLOG(1) << "Sending initialize message to client";
- SendMessageProto(proto);
initialized_ = true;
}
void RemoteChannelMain::SynchronouslyCloseImpl() {
TRACE_EVENT0("cc.remote", "RemoteChannelMain::SynchronouslyCloseImpl");
DCHECK(initialized_);
- proto::CompositorMessage proto;
- proto::CompositorMessageToImpl* to_impl_proto = proto.mutable_to_impl();
- to_impl_proto->set_message_type(proto::CompositorMessageToImpl::CLOSE_IMPL);
- VLOG(1) << "Sending close message to client.";
- SendMessageProto(proto);
initialized_ = false;
}
« no previous file with comments | « cc/trees/remote_channel_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698