Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(708)

Unified Diff: webkit/compositor_bindings/test/web_layer_tree_view_test_common.h

Issue 12377029: Get rid of WebLayerTreeViewClient references in WebLayerTreeViewImplForTesting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webkit/compositor_bindings/test/web_layer_tree_view_test_common.h
diff --git a/webkit/compositor_bindings/test/web_layer_tree_view_test_common.h b/webkit/compositor_bindings/test/web_layer_tree_view_test_common.h
deleted file mode 100644
index b600d38bc86254ecd1c00d31c9f9e96038cfad09..0000000000000000000000000000000000000000
--- a/webkit/compositor_bindings/test/web_layer_tree_view_test_common.h
+++ /dev/null
@@ -1,37 +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 "cc/test/fake_output_surface.h"
-#include "testing/gmock/include/gmock/gmock.h"
-#include "third_party/WebKit/Source/Platform/chromium/public/WebLayerTreeViewClient.h"
-
-namespace WebKit {
-
-class MockWebLayerTreeViewClient : public WebLayerTreeViewClient {
- public:
- MOCK_METHOD0(scheduleComposite, void());
- MOCK_METHOD0(willBeginFrame, void());
- MOCK_METHOD0(didBeginFrame, void());
- virtual void updateAnimations(double frame_begin_time) {}
- virtual void layout() {}
- virtual void applyScrollAndScale(const WebSize& scroll_delta,
- float scale_factor) {}
-
- virtual cc::OutputSurface* createOutputSurface() {
- return cc::createFakeOutputSurface().release();
- }
- virtual void didRecreateOutputSurface(bool) {}
-
- MOCK_METHOD0(willCommit, void());
- MOCK_METHOD0(didCommit, void());
- virtual void didCommitAndDrawFrame() {}
- virtual void didCompleteSwapBuffers() {}
-};
-
-}
-
-#endif // WebLayerTreeViewTestCommon_h

Powered by Google App Engine
This is Rietveld 408576698