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

Unified Diff: cc/test/fake_proxy.cc

Issue 11232051: Remove static thread pointers from CC (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Apply code review comments Created 8 years, 1 month 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_proxy.h ('k') | cc/test/layer_tree_test_common.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_proxy.cc
diff --git a/cc/test/fake_proxy.cc b/cc/test/fake_proxy.cc
new file mode 100644
index 0000000000000000000000000000000000000000..fad6c699aa71c44bb4ada1f3d5ae03b3f540a9e2
--- /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
« no previous file with comments | « cc/test/fake_proxy.h ('k') | cc/test/layer_tree_test_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698