OLD | NEW |
1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 #ifndef CCThreadTask_h | 4 #ifndef CCThreadTask_h |
5 #define CCThreadTask_h | 5 #define CCThreadTask_h |
6 | 6 |
7 #include "CCThread.h" | 7 #include "cc/thread.h" |
8 #include <wtf/PassOwnPtr.h> | 8 #include <wtf/PassOwnPtr.h> |
9 #include <wtf/PassRefPtr.h> | 9 #include <wtf/PassRefPtr.h> |
10 | 10 |
11 namespace cc { | 11 namespace cc { |
12 | 12 |
13 template<typename T> | 13 template<typename T> |
14 class CCThreadTask0 : public CCThread::Task { | 14 class CCThreadTask0 : public CCThread::Task { |
15 public: | 15 public: |
16 typedef void (T::*Method)(); | 16 typedef void (T::*Method)(); |
17 typedef CCThreadTask0<T> CCThreadTaskImpl; | 17 typedef CCThreadTask0<T> CCThreadTaskImpl; |
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 parameter2, | 296 parameter2, |
297 parameter3, | 297 parameter3, |
298 parameter4, | 298 parameter4, |
299 parameter5); | 299 parameter5); |
300 | 300 |
301 } | 301 } |
302 | 302 |
303 } // namespace cc | 303 } // namespace cc |
304 | 304 |
305 #endif // CCThreadTask_h | 305 #endif // CCThreadTask_h |
OLD | NEW |