| Index: cc/trees/channel_main.h
|
| diff --git a/cc/trees/channel_main.h b/cc/trees/channel_main.h
|
| index c4cdcc632d8a2be06133c95882afa4b162ed7405..6a687b3287a00c0a96864142b3e8b5d6ea982906 100644
|
| --- a/cc/trees/channel_main.h
|
| +++ b/cc/trees/channel_main.h
|
| @@ -6,9 +6,10 @@
|
| #define CC_TREES_CHANNEL_MAIN_H_
|
|
|
| #include "cc/base/cc_export.h"
|
| +#include "cc/base/completion_event.h"
|
| +#include "cc/output/output_surface.h"
|
|
|
| namespace cc {
|
| -
|
| // ChannelMain and ChannelImpl provide an abstract communication layer for
|
| // the main and impl side of the compositor.
|
| //
|
| @@ -23,6 +24,17 @@ class CC_EXPORT ChannelMain {
|
| public:
|
| // Interface for commands sent to the ProxyImpl
|
| virtual void SetThrottleFrameProductionOnImpl(bool throttle) = 0;
|
| + virtual void InitializeOutputSurfaceOnImpl(OutputSurface* output_surface) = 0;
|
| + virtual void MainThreadHasStoppedFlingingOnImpl() = 0;
|
| + virtual void SetInputThrottledUntilCommitOnImpl(bool is_throttled) = 0;
|
| + virtual void SetDeferCommitsOnImpl(bool defer_commits) = 0;
|
| + virtual void FinishAllRenderingOnImpl(CompletionEvent* completion) = 0;
|
| + virtual void SetVisibleOnImpl(CompletionEvent* completion, bool visible) = 0;
|
| + virtual void ReleaseOutputSurfaceOnImpl(CompletionEvent* completion) = 0;
|
| + virtual void FinishGLOnImpl(CompletionEvent* completion) = 0;
|
| + virtual void MainFrameWillHappenOnImplForTesting(
|
| + CompletionEvent* completion,
|
| + bool* main_frame_will_happen) = 0;
|
|
|
| virtual ~ChannelMain() {}
|
| };
|
|
|