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

Unified Diff: cc/test/test_texture.h

Issue 50303007: Move test-only stuff from cc/debug/ to cc/test (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fold cc_test_utils into cc_test_support to fix windows link Created 7 years, 2 months 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/test_context_support.cc ('k') | cc/test/test_texture.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/test_texture.h
diff --git a/cc/debug/test_texture.h b/cc/test/test_texture.h
similarity index 72%
rename from cc/debug/test_texture.h
rename to cc/test/test_texture.h
index 301c3a4251c7e60f103eb11b3e8bb522590abae4..a2864689f61685352c289e3f176b0b7ade06829a 100644
--- a/cc/debug/test_texture.h
+++ b/cc/test/test_texture.h
@@ -2,21 +2,20 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#ifndef CC_TEST_TEST_TEXTURE_H_
+#define CC_TEST_TEST_TEXTURE_H_
+
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
-#include "cc/base/cc_export.h"
#include "cc/resources/resource_format.h"
#include "third_party/WebKit/public/platform/WebGraphicsContext3D.h"
-#include "ui/gfx/rect.h"
-
-#ifndef CC_DEBUG_TEST_TEXTURE_H_
-#define CC_DEBUG_TEST_TEXTURE_H_
+#include "ui/gfx/size.h"
namespace cc {
-size_t CC_EXPORT TextureSizeBytes(gfx::Size size, ResourceFormat format);
+size_t TextureSizeBytes(gfx::Size size, ResourceFormat format);
-struct CC_EXPORT TestTexture : public base::RefCounted<TestTexture> {
+struct TestTexture : public base::RefCounted<TestTexture> {
TestTexture();
void Reallocate(gfx::Size size, ResourceFormat format);
@@ -36,4 +35,4 @@ struct CC_EXPORT TestTexture : public base::RefCounted<TestTexture> {
} // namespace cc
-#endif // CC_DEBUG_TEST_TEXTURE_H_
+#endif // CC_TEST_TEST_TEXTURE_H_
« no previous file with comments | « cc/test/test_context_support.cc ('k') | cc/test/test_texture.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698