| Index: cc/test/test_hooks.h
|
| diff --git a/cc/test/test_hooks.h b/cc/test/test_hooks.h
|
| index 8caec7f8f774aea41220233a0e16708ee7385bd5..30ebece07227369e63abdf8792e13857c3b6da9f 100644
|
| --- a/cc/test/test_hooks.h
|
| +++ b/cc/test/test_hooks.h
|
| @@ -12,6 +12,10 @@
|
|
|
| namespace cc {
|
|
|
| +namespace proto {
|
| +class CompositorMessageToImpl;
|
| +}
|
| +
|
| // Used by test stubs to notify the test when something interesting happens.
|
| class TestHooks : public AnimationDelegate {
|
| public:
|
| @@ -135,6 +139,15 @@ class TestHooks : public AnimationDelegate {
|
| int group) override {}
|
|
|
| virtual void RequestNewOutputSurface() = 0;
|
| +
|
| + // Used to notify the test to create the Remote client LayerTreeHost on
|
| + // receiving a CompositorMessageToImpl of type INITIALIZE_IMPL.
|
| + virtual void CreateRemoteClientHost(
|
| + const proto::CompositorMessageToImpl& proto) {}
|
| +
|
| + // Used to notify the test to destroy the Remote client LayerTreeHost on
|
| + // receiving a CompositorMessageToImpl of type CLOSE_IMPL.
|
| + virtual void DestroyRemoteClientHost() {}
|
| };
|
|
|
| } // namespace cc
|
|
|