| Index: cc/test/failure_output_surface.h
|
| diff --git a/cc/test/failure_output_surface.h b/cc/test/failure_output_surface.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..a7aca5b3ab868a53f166ea95256f393e6bc01c64
|
| --- /dev/null
|
| +++ b/cc/test/failure_output_surface.h
|
| @@ -0,0 +1,25 @@
|
| +// Copyright 2014 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_FAILURE_OUTPUT_SURFACE_H_
|
| +#define CC_TEST_FAILURE_OUTPUT_SURFACE_H_
|
| +
|
| +#include "base/macros.h"
|
| +#include "cc/test/fake_output_surface.h"
|
| +
|
| +namespace cc {
|
| +
|
| +class FailureOutputSurface : public FakeOutputSurface {
|
| + public:
|
| + explicit FailureOutputSurface(bool is_delegating);
|
| +
|
| + bool BindToClient(OutputSurfaceClient* client) override;
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(FailureOutputSurface);
|
| +};
|
| +
|
| +} // namespace cc
|
| +
|
| +#endif // CC_TEST_FAILURE_OUTPUT_SURFACE_H_
|
|
|