Index: cc/trees/channel_impl.h |
diff --git a/cc/trees/channel_impl.h b/cc/trees/channel_impl.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..dcaf41687afa0a1e56a8de9f519c02b9e5eb9186 |
--- /dev/null |
+++ b/cc/trees/channel_impl.h |
@@ -0,0 +1,27 @@ |
+// 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" |
+ |
+namespace cc { |
+ |
+// 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 DidCompleteSwapBuffers() = 0; |
+ |
+ protected: |
+ virtual ~ChannelImpl() {} |
+}; |
+ |
+} // namespace cc |
+ |
+#endif // CC_TREES_CHANNEL_IMPL_H_ |