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

Unified Diff: cc/trees/channel_impl.h

Issue 2513863002: cc: Delete channel abstraction between proxies. (Closed)
Patch Set: Rebase Created 4 years, 1 month 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/layer_tree_test.cc ('k') | cc/trees/channel_main.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
deleted file mode 100644
index 6fdd4df9a1187b11b09346a5412a8d56745812b3..0000000000000000000000000000000000000000
--- a/cc/trees/channel_impl.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CC_TREES_CHANNEL_IMPL_H_
-#define CC_TREES_CHANNEL_IMPL_H_
-
-#include "cc/base/cc_export.h"
-#include "cc/trees/proxy_common.h"
-
-namespace cc {
-
-class MutatorEvents;
-
-// Channel used to send commands to and receive commands from ProxyMain.
-// The ChannelImpl implementation creates and owns ProxyImpl on receiving the
-// InitializeImpl call from ChannelMain.
-// See channel_main.h
-class CC_EXPORT ChannelImpl {
- public:
- // Interface for commands sent to ProxyMain
- virtual void DidReceiveCompositorFrameAck() = 0;
- virtual void BeginMainFrameNotExpectedSoon() = 0;
- virtual void DidCommitAndDrawFrame() = 0;
- virtual void SetAnimationEvents(std::unique_ptr<MutatorEvents> queue) = 0;
- virtual void DidLoseCompositorFrameSink() = 0;
- virtual void RequestNewCompositorFrameSink() = 0;
- virtual void DidInitializeCompositorFrameSink(bool success) = 0;
- virtual void DidCompletePageScaleAnimation() = 0;
- virtual void BeginMainFrame(
- std::unique_ptr<BeginMainFrameAndCommitState> begin_main_frame_state) = 0;
-
- protected:
- virtual ~ChannelImpl() {}
-};
-
-} // namespace cc
-
-#endif // CC_TREES_CHANNEL_IMPL_H_
« no previous file with comments | « cc/test/layer_tree_test.cc ('k') | cc/trees/channel_main.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698