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..c2e89a656e43b875b641452624a195406e195ca7 |
--- /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 IntRect&) |
+{ |
+ 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 |