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

Unified Diff: cc/test/fake_layer_tree_host_client.h

Issue 1057283003: Remove parts of //cc we aren't using (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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 | « cc/test/fake_layer_tree_host.cc ('k') | cc/test/fake_layer_tree_host_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_layer_tree_host_client.h
diff --git a/cc/test/fake_layer_tree_host_client.h b/cc/test/fake_layer_tree_host_client.h
deleted file mode 100644
index b5093ad96c43490e27587e204b580bb41b4838f1..0000000000000000000000000000000000000000
--- a/cc/test/fake_layer_tree_host_client.h
+++ /dev/null
@@ -1,69 +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 CC_TEST_FAKE_LAYER_TREE_HOST_CLIENT_H_
-#define CC_TEST_FAKE_LAYER_TREE_HOST_CLIENT_H_
-
-#include "base/memory/scoped_ptr.h"
-#include "cc/input/input_handler.h"
-#include "cc/test/test_context_provider.h"
-#include "cc/trees/layer_tree_host_client.h"
-#include "cc/trees/layer_tree_host_single_thread_client.h"
-
-namespace cc {
-class OutputSurface;
-
-class FakeLayerTreeHostClient : public LayerTreeHostClient,
- public LayerTreeHostSingleThreadClient {
- public:
- enum RendererOptions {
- DIRECT_3D,
- DIRECT_SOFTWARE,
- DELEGATED_3D,
- DELEGATED_SOFTWARE
- };
- explicit FakeLayerTreeHostClient(RendererOptions options);
- ~FakeLayerTreeHostClient() override;
-
- // Caller responsible for unsetting this and maintaining the host's lifetime.
- void SetLayerTreeHost(LayerTreeHost* host) { host_ = host; }
-
- // LayerTreeHostClient implementation.
- void WillBeginMainFrame() override {}
- void DidBeginMainFrame() override {}
- void BeginMainFrame(const BeginFrameArgs& args) override {}
- void BeginMainFrameNotExpectedSoon() override {}
- void Layout() override {}
- void ApplyViewportDeltas(const gfx::Vector2dF& inner_delta,
- const gfx::Vector2dF& outer_delta,
- const gfx::Vector2dF& elastic_overscroll_delta,
- float page_scale,
- float top_controls_delta) override {}
- void ApplyViewportDeltas(const gfx::Vector2d& scroll_delta,
- float page_scale,
- float top_controls_delta) override {}
-
- void RequestNewOutputSurface() override;
- void DidInitializeOutputSurface() override {}
- void DidFailToInitializeOutputSurface() override;
- void WillCommit() override {}
- void DidCommit() override {}
- void DidCommitAndDrawFrame() override {}
- void DidCompleteSwapBuffers() override {}
- void DidCompletePageScaleAnimation() override {}
-
- // LayerTreeHostSingleThreadClient implementation.
- void DidPostSwapBuffers() override {}
- void DidAbortSwapBuffers() override {}
-
- private:
- bool use_software_rendering_;
- bool use_delegating_renderer_;
-
- LayerTreeHost* host_;
-};
-
-} // namespace cc
-
-#endif // CC_TEST_FAKE_LAYER_TREE_HOST_CLIENT_H_
« no previous file with comments | « cc/test/fake_layer_tree_host.cc ('k') | cc/test/fake_layer_tree_host_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698