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

Unified Diff: Source/web/tests/MockWebGraphicsContext3D.h

Issue 99103006: Moving GraphicsContext and dependencies from core to platform. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Final patch - fixes Android Created 7 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
Index: Source/web/tests/MockWebGraphicsContext3D.h
diff --git a/Source/core/platform/testing/FakeWebGraphicsContext3D.h b/Source/web/tests/MockWebGraphicsContext3D.h
similarity index 98%
rename from Source/core/platform/testing/FakeWebGraphicsContext3D.h
rename to Source/web/tests/MockWebGraphicsContext3D.h
index db97f8042ee9e67f8cf917af7d7fd2edc4c4c7be..f53f21731413ff268ca91211a6b56a5c204fff7e 100644
--- a/Source/core/platform/testing/FakeWebGraphicsContext3D.h
+++ b/Source/web/tests/MockWebGraphicsContext3D.h
@@ -23,19 +23,20 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef FakeWebGraphicsContext3D_h
-#define FakeWebGraphicsContext3D_h
+#ifndef MockWebGraphicsContext3D_h
+#define MockWebGraphicsContext3D_h
-#include "core/platform/graphics/GraphicsContext3D.h"
+#include "platform/PlatformExport.h"
+#include "platform/graphics/GraphicsContext3D.h"
#include "public/platform/WebGraphicsContext3D.h"
namespace blink {
// WebGraphicsContext3D base class for use in WebKit unit tests.
// All operations are no-ops (returning 0 if necessary).
-class FakeWebGraphicsContext3D : public WebGraphicsContext3D {
+class MockWebGraphicsContext3D : public WebGraphicsContext3D {
public:
- FakeWebGraphicsContext3D()
+ MockWebGraphicsContext3D()
: m_nextTextureId(1)
{
}
@@ -291,4 +292,4 @@ protected:
} // namespace blink
-#endif // FakeWebGraphicsContext3D_h
+#endif // MockWebGraphicsContext3D_h
« no previous file with comments | « Source/web/tests/MockImageDecoder.h ('k') | Source/web/tests/OpaqueRectTrackingContentLayerDelegateTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698