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

Side by Side Diff: webkit/compositor_bindings/WebCompositorImpl.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
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 WebCompositorImpl_h 5 #ifndef WebCompositorImpl_h
6 #define WebCompositorImpl_h 6 #define WebCompositorImpl_h
7 7
8 #include <public/WebCompositor.h> 8 #include <public/WebCompositor.h>
9 9
10 #include <wtf/HashSet.h> 10 #include <wtf/HashSet.h>
11 #include <wtf/Noncopyable.h> 11 #include <wtf/Noncopyable.h>
12 #include <wtf/OwnPtr.h> 12 #include <wtf/OwnPtr.h>
13 13
14 namespace WebCore { 14 namespace cc {
15 class CCThread; 15 class CCThread;
16 } 16 }
17 17
18 namespace WebKit { 18 namespace WebKit {
19 19
20 class WebThread; 20 class WebThread;
21 21
22 class WebCompositorImpl : public WebCompositor { 22 class WebCompositorImpl : public WebCompositor {
23 WTF_MAKE_NONCOPYABLE(WebCompositorImpl); 23 WTF_MAKE_NONCOPYABLE(WebCompositorImpl);
24 public: 24 public:
25 static bool initialized(); 25 static bool initialized();
26 26
27 static void initialize(WebThread* implThread); 27 static void initialize(WebThread* implThread);
28 static bool isThreadingEnabled(); 28 static bool isThreadingEnabled();
29 static void shutdown(); 29 static void shutdown();
30 30
31 private: 31 private:
32 static bool s_initialized; 32 static bool s_initialized;
33 static WebCore::CCThread* s_mainThread; 33 static cc::CCThread* s_mainThread;
34 static WebCore::CCThread* s_implThread; 34 static cc::CCThread* s_implThread;
35 }; 35 };
36 36
37 } 37 }
38 38
39 #endif // WebCompositorImpl_h 39 #endif // WebCompositorImpl_h
OLDNEW
« no previous file with comments | « webkit/compositor_bindings/WebAnimationImpl.cpp ('k') | webkit/compositor_bindings/WebCompositorImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698