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

Side by Side Diff: cc/CCThread.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/CCTextureUpdateQueue.cpp ('k') | cc/CCThreadProxy.h » ('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 4
5 #ifndef CCThread_h 5 #ifndef CCThread_h
6 #define CCThread_h 6 #define CCThread_h
7 7
8 #include "base/threading/platform_thread.h" 8 #include "base/threading/platform_thread.h"
9 #include <wtf/PassOwnPtr.h> 9 #include <wtf/PassOwnPtr.h>
10 #include <wtf/Noncopyable.h> 10 #include <wtf/Noncopyable.h>
11 11
12 namespace WebCore { 12 namespace cc {
13 13
14 // CCThread provides basic infrastructure for messaging with the compositor in a 14 // CCThread provides basic infrastructure for messaging with the compositor in a
15 // platform-neutral way. 15 // platform-neutral way.
16 class CCThread { 16 class CCThread {
17 public: 17 public:
18 virtual ~CCThread() { } 18 virtual ~CCThread() { }
19 19
20 class Task { 20 class Task {
21 WTF_MAKE_NONCOPYABLE(Task); 21 WTF_MAKE_NONCOPYABLE(Task);
22 public: 22 public:
(...skipping 10 matching lines...) Expand all
33 33
34 // Executes the task after the specified delay. 34 // Executes the task after the specified delay.
35 virtual void postDelayedTask(PassOwnPtr<Task>, long long delayMs) = 0; 35 virtual void postDelayedTask(PassOwnPtr<Task>, long long delayMs) = 0;
36 36
37 virtual base::PlatformThreadId threadID() const = 0; 37 virtual base::PlatformThreadId threadID() const = 0;
38 }; 38 };
39 39
40 } 40 }
41 41
42 #endif 42 #endif
OLDNEW
« no previous file with comments | « cc/CCTextureUpdateQueue.cpp ('k') | cc/CCThreadProxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698