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

Unified Diff: cc/test/fake_layer_tree_host.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_impl_proxy.h ('k') | cc/test/fake_layer_tree_host.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.h
diff --git a/cc/test/fake_layer_tree_host.h b/cc/test/fake_layer_tree_host.h
deleted file mode 100644
index 858574fd84ffaabbf71cc4a2d7a6ec18f045fa95..0000000000000000000000000000000000000000
--- a/cc/test/fake_layer_tree_host.h
+++ /dev/null
@@ -1,68 +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 CC_TEST_FAKE_LAYER_TREE_HOST_H_
-#define CC_TEST_FAKE_LAYER_TREE_HOST_H_
-
-#include "cc/debug/micro_benchmark_controller.h"
-#include "cc/test/fake_impl_proxy.h"
-#include "cc/test/fake_layer_tree_host_client.h"
-#include "cc/test/fake_layer_tree_host_impl.h"
-#include "cc/test/test_shared_bitmap_manager.h"
-#include "cc/trees/layer_tree_host.h"
-#include "cc/trees/layer_tree_impl.h"
-#include "cc/trees/tree_synchronizer.h"
-
-namespace cc {
-
-class FakeLayerTreeHost : public LayerTreeHost {
- public:
- static scoped_ptr<FakeLayerTreeHost> Create(FakeLayerTreeHostClient* client);
- static scoped_ptr<FakeLayerTreeHost> Create(
- FakeLayerTreeHostClient* client,
- const LayerTreeSettings& settings);
-
- ~FakeLayerTreeHost() override;
-
- void SetNeedsCommit() override;
- void SetNeedsFullTreeSync() override {}
-
- using LayerTreeHost::SetRootLayer;
- using LayerTreeHost::root_layer;
-
- LayerImpl* CommitAndCreateLayerImplTree();
-
- FakeLayerTreeHostImpl* host_impl() { return &host_impl_; }
- LayerTreeImpl* active_tree() { return host_impl_.active_tree(); }
-
- using LayerTreeHost::ScheduleMicroBenchmark;
- using LayerTreeHost::SendMessageToMicroBenchmark;
- using LayerTreeHost::SetOutputSurfaceLostForTesting;
- using LayerTreeHost::InitializeSingleThreaded;
- using LayerTreeHost::InitializeForTesting;
- void UpdateLayers(ResourceUpdateQueue* queue) {
- LayerTreeHost::UpdateLayers(queue);
- }
-
- MicroBenchmarkController* GetMicroBenchmarkController() {
- return &micro_benchmark_controller_;
- }
-
- bool needs_commit() { return needs_commit_; }
-
- protected:
- FakeLayerTreeHost(FakeLayerTreeHostClient* client,
- const LayerTreeSettings& settings);
-
- private:
- FakeImplProxy proxy_;
- FakeLayerTreeHostClient* client_;
- TestSharedBitmapManager manager_;
- FakeLayerTreeHostImpl host_impl_;
- bool needs_commit_;
-};
-
-} // namespace cc
-
-#endif // CC_TEST_FAKE_LAYER_TREE_HOST_H_
« no previous file with comments | « cc/test/fake_impl_proxy.h ('k') | cc/test/fake_layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698