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

Side by Side Diff: cc/CCThreadTask.h

Issue 10914268: Change cc files from namespace WebCore to cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « cc/CCThreadProxy.cpp ('k') | cc/CCThreadTaskTest.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "CCThread.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 WebCore { 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;
18 18
19 static PassOwnPtr<CCThreadTaskImpl> create(T* instance, Method method) 19 static PassOwnPtr<CCThreadTaskImpl> create(T* instance, Method method)
20 { 20 {
21 return adoptPtr(new CCThreadTaskImpl(instance, method)); 21 return adoptPtr(new CCThreadTaskImpl(instance, method));
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 callee, 293 callee,
294 method, 294 method,
295 parameter1, 295 parameter1,
296 parameter2, 296 parameter2,
297 parameter3, 297 parameter3,
298 parameter4, 298 parameter4,
299 parameter5); 299 parameter5);
300 300
301 } 301 }
302 302
303 } // namespace WebCore 303 } // namespace cc
304 304
305 #endif // CCThreadTask_h 305 #endif // CCThreadTask_h
OLDNEW
« no previous file with comments | « cc/CCThreadProxy.cpp ('k') | cc/CCThreadTaskTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698