OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CC_BLIMP_COMPOSITOR_PROTO_STATE_SINK_CLIENT_H_ |
| 6 #define CC_BLIMP_COMPOSITOR_PROTO_STATE_SINK_CLIENT_H_ |
| 7 |
| 8 #include "base/macros.h" |
| 9 #include "cc/base/cc_export.h" |
| 10 |
| 11 namespace cc { |
| 12 class CompositorProtoState; |
| 13 |
| 14 class CC_EXPORT CompositorProtoStateSinkClient { |
| 15 public: |
| 16 virtual ~CompositorProtoStateSinkClient() {} |
| 17 |
| 18 // Called in response to a ScheduleMainFrame request made on the |
| 19 // CompositorProtoStateSink. |
| 20 // Note: The method should always be invoked asynchronously after the request |
| 21 // is made. |
| 22 virtual void BeginMainFrame() = 0; |
| 23 }; |
| 24 |
| 25 } // namespace cc |
| 26 |
| 27 #endif // CC_BLIMP_COMPOSITOR_PROTO_STATE_SINK_CLIENT_H_ |
OLD | NEW |