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

Unified Diff: cc/blimp/compositor_proto_state_sink_client.h

Issue 2362073002: cc/blimp: Add a LayerTreeHostRemote implementation. (Closed)
Patch Set: 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
Index: cc/blimp/compositor_proto_state_sink_client.h
diff --git a/cc/blimp/compositor_proto_state_sink_client.h b/cc/blimp/compositor_proto_state_sink_client.h
new file mode 100644
index 0000000000000000000000000000000000000000..f569ee9174d620052c05ae3eb6263bee6b63c0c4
--- /dev/null
+++ b/cc/blimp/compositor_proto_state_sink_client.h
@@ -0,0 +1,27 @@
+// Copyright 2016 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_BLIMP_COMPOSITOR_PROTO_STATE_SINK_CLIENT_H_
+#define CC_BLIMP_COMPOSITOR_PROTO_STATE_SINK_CLIENT_H_
+
+#include "base/macros.h"
+#include "cc/base/cc_export.h"
+
+namespace cc {
+class CompositorProtoState;
+
+class CC_EXPORT CompositorProtoStateSinkClient {
+ public:
+ virtual ~CompositorProtoStateSinkClient() {}
+
+ // Called in response to a ScheduleMainFrame request made on the
+ // CompositorProtoStateSink.
+ // Note: The method should always be invoked asynchronously after the request
+ // is made.
+ virtual void BeginMainFrame() = 0;
+};
+
+} // namespace cc
+
+#endif // CC_BLIMP_COMPOSITOR_PROTO_STATE_SINK_CLIENT_H_

Powered by Google App Engine
This is Rietveld 408576698