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

Unified Diff: cc/test/fake_proxy.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_picture_pile_impl.cc ('k') | cc/test/fake_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_proxy.h
diff --git a/cc/test/fake_proxy.h b/cc/test/fake_proxy.h
deleted file mode 100644
index d5ad3137bea46fe2e9e7351a567332d5c3909976..0000000000000000000000000000000000000000
--- a/cc/test/fake_proxy.h
+++ /dev/null
@@ -1,62 +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_PROXY_H_
-#define CC_TEST_FAKE_PROXY_H_
-
-#include "base/single_thread_task_runner.h"
-#include "cc/trees/layer_tree_host.h"
-#include "cc/trees/proxy.h"
-
-namespace cc {
-
-class FakeProxy : public Proxy {
- public:
- FakeProxy() : Proxy(NULL, NULL), layer_tree_host_(NULL) {}
- explicit FakeProxy(
- scoped_refptr<base::SingleThreadTaskRunner> main_task_runner,
- scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner)
- : Proxy(main_task_runner, impl_task_runner), layer_tree_host_(NULL) {}
-
- void SetLayerTreeHost(LayerTreeHost* host);
-
- void FinishAllRendering() override {}
- bool IsStarted() const override;
- bool CommitToActiveTree() const override;
- void SetOutputSurface(scoped_ptr<OutputSurface>) override {}
- void SetLayerTreeHostClientReady() override {}
- void SetVisible(bool visible) override {}
- void SetThrottleFrameProduction(bool throttle) override {}
- const RendererCapabilities& GetRendererCapabilities() const override;
- void SetNeedsAnimate() override {}
- void SetNeedsUpdateLayers() override {}
- void SetNeedsCommit() override {}
- void SetNeedsRedraw(const gfx::Rect& damage_rect) override {}
- void SetNextCommitWaitsForActivation() override {}
- void NotifyInputThrottledUntilCommit() override {}
- void SetDeferCommits(bool defer_commits) override {}
- void MainThreadHasStoppedFlinging() override {}
- bool BeginMainFrameRequested() const override;
- bool CommitRequested() const override;
- void Start() override {}
- void Stop() override {}
- void ForceSerializeOnSwapBuffers() override {}
- size_t MaxPartialTextureUpdates() const override;
- bool SupportsImplScrolling() const override;
- void SetDebugState(const LayerTreeDebugState& debug_state) override {}
- bool MainFrameWillHappenForTesting() override;
- void SetChildrenNeedBeginFrames(bool children_need_begin_frames) override {}
-
- virtual RendererCapabilities& GetRendererCapabilities();
- void SetMaxPartialTextureUpdates(size_t max);
-
- private:
- RendererCapabilities capabilities_;
- size_t max_partial_texture_updates_;
- LayerTreeHost* layer_tree_host_;
-};
-
-} // namespace cc
-
-#endif // CC_TEST_FAKE_PROXY_H_
« no previous file with comments | « cc/test/fake_picture_pile_impl.cc ('k') | cc/test/fake_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698