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

Unified Diff: webkit/compositor_bindings/ccthread_impl.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/timer_unittest.cc ('k') | webkit/compositor_bindings/ccthread_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/compositor_bindings/ccthread_impl.h
diff --git a/webkit/compositor_bindings/ccthread_impl.h b/webkit/compositor_bindings/ccthread_impl.h
deleted file mode 100644
index 259ca4ab34a1f10f752ca85f038c1dcddbf6af07..0000000000000000000000000000000000000000
--- a/webkit/compositor_bindings/ccthread_impl.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// 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 "base/memory/scoped_ptr.h"
-#include "base/threading/platform_thread.h"
-#include "cc/thread.h"
-#include <wtf/OwnPtr.h>
-#include <wtf/PassOwnPtr.h>
-
-#ifndef CCThreadImpl_h
-#define CCThreadImpl_h
-
-namespace WebKit {
-
-class WebThread;
-
-// Implements Thread in terms of WebThread.
-class CCThreadImpl : public cc::Thread {
-public:
- // Creates a CCThreadImpl wrapping the current thread.
- static scoped_ptr<cc::Thread> createForCurrentThread();
-
- // Creates a Thread wrapping a non-current WebThread.
- static scoped_ptr<cc::Thread> createForDifferentThread(WebThread*);
-
- virtual ~CCThreadImpl();
- virtual void postTask(PassOwnPtr<cc::Thread::Task>);
- virtual void postDelayedTask(PassOwnPtr<cc::Thread::Task>, long long delayMs);
- base::PlatformThreadId threadID() const;
-
-private:
- CCThreadImpl(WebThread*, bool currentThread);
-
- WebThread* m_thread;
- base::PlatformThreadId m_threadID;
-};
-
-} // namespace WebKit
-
-#endif
« no previous file with comments | « cc/timer_unittest.cc ('k') | webkit/compositor_bindings/ccthread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698