summaryrefslogtreecommitdiffstats
path: root/cc/test/fake_proxy.cc
diff options
context:
space:
mode:
authoraelias@chromium.org <aelias@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-08 07:03:44 +0000
committeraelias@chromium.org <aelias@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-08 07:03:44 +0000
commit61de581375ce3d76628772a78719cad63f0aabae (patch)
tree90e5818095cfa31182ceca09224c42d999644e4d /cc/test/fake_proxy.cc
parentde8686ed05a28324b0978b2bb81cf3407f13762b (diff)
downloadchromium_src-61de581375ce3d76628772a78719cad63f0aabae.zip
chromium_src-61de581375ce3d76628772a78719cad63f0aabae.tar.gz
chromium_src-61de581375ce3d76628772a78719cad63f0aabae.tar.bz2
Remove static thread pointers from CC, attempt 3
BUG=152904 Review URL: https://chromiumcodereview.appspot.com/11232051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166627 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/fake_proxy.cc')
-rw-r--r--cc/test/fake_proxy.cc52
1 files changed, 52 insertions, 0 deletions
diff --git a/cc/test/fake_proxy.cc b/cc/test/fake_proxy.cc
new file mode 100644
index 0000000..fad6c69
--- /dev/null
+++ b/cc/test/fake_proxy.cc
@@ -0,0 +1,52 @@
+// 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.
+
+#include "config.h"
+
+#include "cc/test/fake_proxy.h"
+
+namespace cc {
+
+bool FakeProxy::compositeAndReadback(void *pixels, const gfx::Rect&)
+{
+ return false;
+}
+
+bool FakeProxy::isStarted() const
+{
+ return false;
+}
+
+bool FakeProxy::initializeContext()
+{
+ return false;
+}
+
+bool FakeProxy::initializeRenderer()
+{
+ return false;
+}
+
+bool FakeProxy::recreateContext()
+{
+ return false;
+}
+
+const RendererCapabilities& FakeProxy::rendererCapabilities() const
+{
+ return m_capabilities;
+}
+
+bool FakeProxy::commitRequested() const
+{
+ return false;
+}
+
+size_t FakeProxy::maxPartialTextureUpdates() const
+{
+ return 0;
+}
+
+
+} // namespace cc