Index: webkit/compositor/test/WebLayerTreeViewTestCommon.h |
diff --git a/webkit/compositor/test/WebLayerTreeViewTestCommon.h b/webkit/compositor/test/WebLayerTreeViewTestCommon.h |
deleted file mode 100644 |
index 2a81fb9290d5e7be82d0515ada4e1c36ea4b3190..0000000000000000000000000000000000000000 |
--- a/webkit/compositor/test/WebLayerTreeViewTestCommon.h |
+++ /dev/null |
@@ -1,38 +0,0 @@ |
-// 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 WebLayerTreeViewTestCommon_h |
-#define WebLayerTreeViewTestCommon_h |
- |
-#include "CompositorFakeWebGraphicsContext3D.h" |
-#include "FakeWebCompositorOutputSurface.h" |
-#include <gmock/gmock.h> |
-#include <public/WebLayerTreeViewClient.h> |
- |
-namespace WebKit { |
- |
-class MockWebLayerTreeViewClient : public WebLayerTreeViewClient { |
-public: |
- MOCK_METHOD0(scheduleComposite, void()); |
- virtual void updateAnimations(double frameBeginTime) OVERRIDE { } |
- MOCK_METHOD0(willBeginFrame, void()); |
- MOCK_METHOD0(didBeginFrame, void()); |
- virtual void layout() OVERRIDE { } |
- virtual void applyScrollAndScale(const WebSize& scrollDelta, float scaleFactor) OVERRIDE { } |
- |
- virtual WebCompositorOutputSurface* createOutputSurface() OVERRIDE |
- { |
- return FakeWebCompositorOutputSurface::create(CompositorFakeWebGraphicsContext3D::create(WebGraphicsContext3D::Attributes())).leakPtr(); |
- } |
- virtual void didRecreateOutputSurface(bool) OVERRIDE { } |
- |
- MOCK_METHOD0(willCommit, void()); |
- MOCK_METHOD0(didCommit, void()); |
- virtual void didCommitAndDrawFrame() OVERRIDE { } |
- virtual void didCompleteSwapBuffers() OVERRIDE { } |
-}; |
- |
-} |
- |
-#endif // WebLayerTreeViewTestCommon_h |