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

Unified Diff: cc/test/compositor_fake_web_graphics_context_3d.cc

Issue 11474050: cc: Unify namespaces for all test files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years 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/compositor_fake_web_graphics_context_3d.h ('k') | cc/test/fake_content_layer_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/compositor_fake_web_graphics_context_3d.cc
diff --git a/cc/test/compositor_fake_web_graphics_context_3d.cc b/cc/test/compositor_fake_web_graphics_context_3d.cc
new file mode 100644
index 0000000000000000000000000000000000000000..99d6cdd632159777dc2ee55d55b790d26c482131
--- /dev/null
+++ b/cc/test/compositor_fake_web_graphics_context_3d.cc
@@ -0,0 +1,36 @@
+// Copyright 2011 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 "cc/test/compositor_fake_web_graphics_context_3d.h"
+
+namespace cc {
+
+bool CompositorFakeWebGraphicsContext3D::makeContextCurrent() {
+ return true;
+}
+
+WebKit::WebGLId CompositorFakeWebGraphicsContext3D::createProgram() {
+ return 1;
+}
+
+WebKit::WebGLId CompositorFakeWebGraphicsContext3D::createShader(
+ WebKit::WGC3Denum) {
+ return 1;
+}
+
+void CompositorFakeWebGraphicsContext3D::getShaderiv(
+ WebKit::WebGLId,
+ WebKit::WGC3Denum,
+ WebKit::WGC3Dint* value) {
+ *value = 1;
+}
+
+void CompositorFakeWebGraphicsContext3D::getProgramiv(
+ WebKit::WebGLId,
+ WebKit::WGC3Denum,
+ WebKit::WGC3Dint* value) {
+ *value = 1;
+}
+
+} // namespace cc
« no previous file with comments | « cc/test/compositor_fake_web_graphics_context_3d.h ('k') | cc/test/fake_content_layer_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698