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

Unified Diff: webkit/support/web_layer_tree_view_impl_for_testing.h

Issue 23526028: Move source files from webkit/support to content/test (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixes Created 7 years, 3 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
« no previous file with comments | « webkit/support/web_gesture_curve_mock.cc ('k') | webkit/support/web_layer_tree_view_impl_for_testing.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/support/web_layer_tree_view_impl_for_testing.h
diff --git a/webkit/support/web_layer_tree_view_impl_for_testing.h b/webkit/support/web_layer_tree_view_impl_for_testing.h
deleted file mode 100644
index 612f0f06174c5093f701e56dbbaf853a091e9a6f..0000000000000000000000000000000000000000
--- a/webkit/support/web_layer_tree_view_impl_for_testing.h
+++ /dev/null
@@ -1,87 +0,0 @@
-// Copyright 2013 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 WEBKIT_SUPPORT_WEB_LAYER_TREE_VIEW_IMPL_FOR_TESTING_H_
-#define WEBKIT_SUPPORT_WEB_LAYER_TREE_VIEW_IMPL_FOR_TESTING_H_
-
-#include "base/memory/scoped_ptr.h"
-#include "cc/trees/layer_tree_host_client.h"
-#include "third_party/WebKit/public/platform/WebLayerTreeView.h"
-
-namespace cc {
-class LayerTreeHost;
-}
-
-namespace WebKit { class WebLayer; }
-
-namespace webkit {
-
-class WebLayerTreeViewImplForTesting : public WebKit::WebLayerTreeView,
- public cc::LayerTreeHostClient {
- public:
- WebLayerTreeViewImplForTesting();
- virtual ~WebLayerTreeViewImplForTesting();
-
- bool Initialize();
-
- // WebKit::WebLayerTreeView implementation.
- virtual void setSurfaceReady();
- virtual void setRootLayer(const WebKit::WebLayer& layer);
- virtual void clearRootLayer();
- virtual void setViewportSize(const WebKit::WebSize& unused_deprecated,
- const WebKit::WebSize& device_viewport_size);
- virtual WebKit::WebSize layoutViewportSize() const;
- virtual WebKit::WebSize deviceViewportSize() const;
- virtual void setDeviceScaleFactor(float scale_factor);
- virtual float deviceScaleFactor() const;
- virtual void setBackgroundColor(WebKit::WebColor);
- virtual void setHasTransparentBackground(bool transparent);
- virtual void setVisible(bool visible);
- virtual void setPageScaleFactorAndLimits(float page_scale_factor,
- float minimum,
- float maximum);
- virtual void startPageScaleAnimation(const WebKit::WebPoint& destination,
- bool use_anchor,
- float new_page_scale,
- double duration_sec);
- virtual void setNeedsAnimate();
- virtual void setNeedsRedraw();
- virtual bool commitRequested() const;
- virtual void composite();
- virtual void didStopFlinging();
- virtual bool compositeAndReadback(void* pixels, const WebKit::WebRect& rect);
- virtual void finishAllRendering();
- virtual void setDeferCommits(bool defer_commits);
- virtual void renderingStats(
- WebKit::WebRenderingStats& stats) const; // NOLINT(runtime/references)
-
- // cc::LayerTreeHostClient implementation.
- virtual void WillBeginFrame() OVERRIDE {}
- virtual void DidBeginFrame() OVERRIDE {}
- virtual void Animate(double frame_begin_time) OVERRIDE {}
- virtual void Layout() OVERRIDE;
- virtual void ApplyScrollAndScale(gfx::Vector2d scroll_delta, float page_scale)
- OVERRIDE;
- virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface(bool fallback)
- OVERRIDE;
- virtual void DidInitializeOutputSurface(bool success) OVERRIDE {}
- virtual void WillCommit() OVERRIDE {}
- virtual void DidCommit() OVERRIDE {}
- virtual void DidCommitAndDrawFrame() OVERRIDE {}
- virtual void DidCompleteSwapBuffers() OVERRIDE {}
- virtual void ScheduleComposite() OVERRIDE;
- virtual scoped_refptr<cc::ContextProvider>
- OffscreenContextProviderForMainThread() OVERRIDE;
- virtual scoped_refptr<cc::ContextProvider>
- OffscreenContextProviderForCompositorThread() OVERRIDE;
-
- private:
- scoped_ptr<cc::LayerTreeHost> layer_tree_host_;
-
- DISALLOW_COPY_AND_ASSIGN(WebLayerTreeViewImplForTesting);
-};
-
-} // namespace webkit
-
-#endif // WEBKIT_SUPPORT_WEB_LAYER_TREE_VIEW_IMPL_FOR_TESTING_H_
« no previous file with comments | « webkit/support/web_gesture_curve_mock.cc ('k') | webkit/support/web_layer_tree_view_impl_for_testing.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698