| Index: cc/test/fake_layer_tree_host_impl_client.h
|
| diff --git a/cc/test/fake_layer_tree_host_impl_client.h b/cc/test/fake_layer_tree_host_impl_client.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..fdeb7ea00f350859b2e115483d4c02cb9f5c1a5a
|
| --- /dev/null
|
| +++ b/cc/test/fake_layer_tree_host_impl_client.h
|
| @@ -0,0 +1,33 @@
|
| +// Copyright 2012 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_TEST_FAKE_LAYER_TREE_HOST_IMPL_CLIENT_H_
|
| +#define CC_TEST_FAKE_LAYER_TREE_HOST_IMPL_CLIENT_H_
|
| +
|
| +#include "cc/layer_tree_host_impl.h"
|
| +
|
| +namespace cc {
|
| +
|
| +class FakeLayerTreeHostImplClient : public LayerTreeHostImplClient {
|
| + public:
|
| + // LayerTreeHostImplClient implementation.
|
| + virtual void didLoseOutputSurfaceOnImplThread() OVERRIDE { }
|
| + virtual void onSwapBuffersCompleteOnImplThread() OVERRIDE { }
|
| + virtual void onVSyncParametersChanged(
|
| + base::TimeTicks,
|
| + base::TimeDelta) OVERRIDE { }
|
| + virtual void onCanDrawStateChanged(bool) OVERRIDE { }
|
| + virtual void setNeedsRedrawOnImplThread() OVERRIDE { }
|
| + virtual void setNeedsCommitOnImplThread() OVERRIDE { }
|
| + virtual void setNeedsManageTilesOnImplThread() OVERRIDE { }
|
| + virtual void postAnimationEventsToMainThreadOnImplThread(
|
| + scoped_ptr<AnimationEventsVector>,
|
| + base::Time) OVERRIDE { }
|
| + virtual bool reduceContentsTextureMemoryOnImplThread(size_t, int) OVERRIDE;
|
| + virtual void sendManagedMemoryStats() OVERRIDE { }
|
| +};
|
| +
|
| +} // namespace cc
|
| +
|
| +#endif // CC_TEST_FAKE_LAYER_TREE_HOST_IMPL_CLIENT_H_
|
|
|