| Index: cc/trees/proxy_impl.h
|
| diff --git a/cc/trees/proxy_impl.h b/cc/trees/proxy_impl.h
|
| index 998463f76692a987a5e5028731bc69376403eacf..2723d1ca3eeaee7d6cf86f4ab7a65b19769d5159 100644
|
| --- a/cc/trees/proxy_impl.h
|
| +++ b/cc/trees/proxy_impl.h
|
| @@ -7,9 +7,10 @@
|
|
|
| #include "base/memory/weak_ptr.h"
|
| #include "cc/base/cc_export.h"
|
| +#include "cc/base/completion_event.h"
|
| +#include "cc/output/output_surface.h"
|
|
|
| namespace cc {
|
| -
|
| // TODO(khushalsagar): The impl side of ThreadProxy. It is currently defined as
|
| // an interface with the implementation provided by ThreadProxy and will be
|
| // made an independent class.
|
| @@ -20,6 +21,17 @@ class CC_EXPORT ProxyImpl {
|
| public:
|
| // Callback for impl side commands received from the channel.
|
| 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;
|
|
|
| // TODO(khushalsagar): Rename as GetWeakPtr() once ThreadProxy is split.
|
| virtual base::WeakPtr<ProxyImpl> GetImplWeakPtr() = 0;
|
|
|