| Index: cc/test/FakeCCLayerTreeHostClient.cpp
|
| diff --git a/cc/test/FakeCCLayerTreeHostClient.cpp b/cc/test/FakeCCLayerTreeHostClient.cpp
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..0c081a5952a3634182b8bb6742a9de5496233e21
|
| --- /dev/null
|
| +++ b/cc/test/FakeCCLayerTreeHostClient.cpp
|
| @@ -0,0 +1,22 @@
|
| +// 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.
|
| +
|
| +#include "config.h"
|
| +
|
| +#include "FakeCCLayerTreeHostClient.h"
|
| +
|
| +namespace cc {
|
| +
|
| +PassOwnPtr<WebKit::WebCompositorOutputSurface> FakeCCLayerTreeHostClient::createOutputSurface()
|
| +{
|
| + WebKit::WebGraphicsContext3D::Attributes attrs;
|
| + return WebKit::FakeWebCompositorOutputSurface::create(WebKit::CompositorFakeWebGraphicsContext3D::create(attrs));
|
| +}
|
| +
|
| +PassOwnPtr<CCInputHandler> FakeCCLayerTreeHostClient::createInputHandler()
|
| +{
|
| + return nullptr;
|
| +}
|
| +
|
| +}
|
|
|