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

Unified Diff: cc/test/test_webkit_platform.h

Issue 11344004: Remove WebKit::Platform dependencies from cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix webkit_compositor_bindings_unittests Created 8 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/scheduler_test_common.cc ('k') | cc/test/test_webkit_platform.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/test_webkit_platform.h
diff --git a/cc/test/test_webkit_platform.h b/cc/test/test_webkit_platform.h
deleted file mode 100644
index ee7cfa6d97d74113154be183c979b3f14e66e6f1..0000000000000000000000000000000000000000
--- a/cc/test/test_webkit_platform.h
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright (c) 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.
-
-#ifndef CC_TEST_TEST_WEBKIT_PLATFORM_H_
-#define CC_TEST_TEST_WEBKIT_PLATFORM_H_
-
-#include "base/rand_util.h"
-#include "base/threading/thread_local_storage.h"
-#include "cc/test/test_webkit_platform.h"
-#include "third_party/WebKit/Source/Platform/chromium/public/Platform.h"
-#include "webkit/compositor_bindings/web_compositor_support_impl.h"
-#include "webkit/glue/webthread_impl.h"
-
-using webkit_glue::WebThreadImplForMessageLoop;
-
-namespace cc {
-
-class TestWebKitPlatform : public WebKit::Platform {
- public:
- TestWebKitPlatform();
- virtual ~TestWebKitPlatform();
-
- virtual WebKit::WebCompositorSupport* compositorSupport();
-
- virtual void cryptographicallyRandomValues(
- unsigned char* buffer, size_t length);
-
- virtual WebKit::WebThread* createThread(const char* name);
-
- virtual WebKit::WebThread* currentThread();
-
- virtual double currentTime();
-
- virtual double monotonicallyIncreasingTime();
-
- private:
- base::ThreadLocalStorage::Slot current_thread_slot_;
- webkit::WebCompositorSupportImpl compositor_support_;
-};
-
-} // namespace cc
-
-#endif // CC_TEST_TEST_WEBKIT_PLATFORM_H_
« no previous file with comments | « cc/test/scheduler_test_common.cc ('k') | cc/test/test_webkit_platform.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698