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

Unified Diff: cc/test/fake_layer_tree_host_impl.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_client.cc ('k') | cc/test/fake_layer_tree_host_impl.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_impl.h
diff --git a/cc/test/fake_layer_tree_host_impl.h b/cc/test/fake_layer_tree_host_impl.h
deleted file mode 100644
index 9c8f6498c90ddc1b0cd32cb3ec53f0d3f22cacdb..0000000000000000000000000000000000000000
--- a/cc/test/fake_layer_tree_host_impl.h
+++ /dev/null
@@ -1,52 +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_IMPL_H_
-#define CC_TEST_FAKE_LAYER_TREE_HOST_IMPL_H_
-
-#include "cc/test/fake_layer_tree_host_impl_client.h"
-#include "cc/test/fake_rendering_stats_instrumentation.h"
-#include "cc/trees/layer_tree_host_impl.h"
-#include "cc/trees/single_thread_proxy.h"
-
-namespace cc {
-
-class FakeLayerTreeHostImpl : public LayerTreeHostImpl {
- public:
- FakeLayerTreeHostImpl(Proxy* proxy,
- SharedBitmapManager* manager,
- TaskGraphRunner* task_graph_runner);
- FakeLayerTreeHostImpl(const LayerTreeSettings& settings,
- Proxy* proxy,
- SharedBitmapManager* manager,
- TaskGraphRunner* task_graph_runner);
- ~FakeLayerTreeHostImpl() override;
-
- void ForcePrepareToDraw() {
- LayerTreeHostImpl::FrameData frame_data;
- PrepareToDraw(&frame_data);
- DidDrawAllLayers(frame_data);
- }
-
- void CreatePendingTree() override;
-
- BeginFrameArgs CurrentBeginFrameArgs() const override;
- void SetCurrentBeginFrameArgs(const BeginFrameArgs& args);
- void UpdateNumChildrenAndDrawPropertiesForActiveTree();
- static void UpdateNumChildrenAndDrawProperties(LayerTreeImpl* layerTree);
- static int RecursiveUpdateNumChildren(LayerImpl* layer);
-
- using LayerTreeHostImpl::ActivateSyncTree;
- using LayerTreeHostImpl::prepare_tiles_needed;
- using LayerTreeHostImpl::is_likely_to_require_a_draw;
-
- private:
- BeginFrameArgs current_begin_frame_args_;
- FakeLayerTreeHostImplClient client_;
- FakeRenderingStatsInstrumentation stats_instrumentation_;
-};
-
-} // namespace cc
-
-#endif // CC_TEST_FAKE_LAYER_TREE_HOST_IMPL_H_
« no previous file with comments | « cc/test/fake_layer_tree_host_client.cc ('k') | cc/test/fake_layer_tree_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698