diff options
author | hbono@chromium.org <hbono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-05 07:17:46 +0000 |
---|---|---|
committer | hbono@chromium.org <hbono@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-05 07:17:46 +0000 |
commit | 068d7ef6aed7f5a7bdaf1e8d28b422c547be294d (patch) | |
tree | a66fd6a12e3a9ae7ef16c66043fd4e4bebe4d28c /cc/test/fake_proxy.h | |
parent | 2bddc10a9e71bd3e7d7f010b46ec96c7ab623336 (diff) | |
download | chromium_src-068d7ef6aed7f5a7bdaf1e8d28b422c547be294d.zip chromium_src-068d7ef6aed7f5a7bdaf1e8d28b422c547be294d.tar.gz chromium_src-068d7ef6aed7f5a7bdaf1e8d28b422c547be294d.tar.bz2 |
A speculative Revert for r165872 - Remove static thread pointers from CC, attempt 2
BUG=152904
Review URL: https://chromiumcodereview.appspot.com/11232051
TBR=aelias@chromium.org
Review URL: https://codereview.chromium.org/11369071
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165907 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/fake_proxy.h')
-rw-r--r-- | cc/test/fake_proxy.h | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/cc/test/fake_proxy.h b/cc/test/fake_proxy.h deleted file mode 100644 index e432d00..0000000 --- a/cc/test/fake_proxy.h +++ /dev/null @@ -1,50 +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 FakeCCProxy_h -#define FakeCCProxy_h - -#include "config.h" - -#include "cc/layer_tree_host.h" -#include "cc/proxy.h" -#include "cc/thread.h" - -namespace cc { - -class FakeProxy : public Proxy { -public: - explicit FakeProxy(scoped_ptr<Thread> implThread) : Proxy(implThread.Pass()) { } - - virtual bool compositeAndReadback(void *pixels, const gfx::Rect&) OVERRIDE; - virtual void startPageScaleAnimation(const IntSize& targetPosition, bool useAnchor, float scale, base::TimeDelta duration) OVERRIDE { } - virtual void finishAllRendering() OVERRIDE { } - virtual bool isStarted() const OVERRIDE; - virtual bool initializeContext() OVERRIDE; - virtual void setSurfaceReady() OVERRIDE { } - virtual void setVisible(bool) OVERRIDE { } - virtual bool initializeRenderer() OVERRIDE; - virtual bool recreateContext() OVERRIDE; - virtual void renderingStats(RenderingStats*) OVERRIDE { } - virtual const RendererCapabilities& rendererCapabilities() const OVERRIDE; - virtual void setNeedsAnimate() OVERRIDE { } - virtual void setNeedsCommit() OVERRIDE { } - virtual void setNeedsRedraw() OVERRIDE { } - virtual void setDeferCommits(bool) OVERRIDE { } - virtual void didAddAnimation() OVERRIDE { } - virtual bool commitRequested() const OVERRIDE; - virtual void start() OVERRIDE { } - virtual void stop() OVERRIDE { } - virtual void forceSerializeOnSwapBuffers() OVERRIDE { } - virtual size_t maxPartialTextureUpdates() const OVERRIDE; - virtual void acquireLayerTextures() OVERRIDE { } - virtual void loseContext() OVERRIDE { } - -private: - RendererCapabilities m_capabilities; -}; - -} - -#endif |