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

Side by Side Diff: webkit/compositor_bindings/WebCompositorImpl.h

Issue 11142031: Remove WTF dependencies from webkit_compositor_bindings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 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 "third_party/WebKit/Source/Platform/chromium/public/WebCompositor.h"
9
10 #include <wtf/HashSet.h>
11 #include <wtf/Noncopyable.h>
12 #include <wtf/OwnPtr.h>
13 9
14 namespace cc { 10 namespace cc {
15 class CCThread; 11 class CCThread;
16 } 12 }
17 13
18 namespace WebKit { 14 namespace WebKit {
19 15
20 class WebThread; 16 class WebThread;
21 17
22 class WebCompositorImpl : public WebCompositor { 18 class WebCompositorImpl : public WebCompositor {
23 WTF_MAKE_NONCOPYABLE(WebCompositorImpl);
24 public: 19 public:
25 static bool initialized(); 20 static bool initialized();
26 21
27 static void initialize(WebThread* implThread); 22 static void initialize(WebThread* implThread);
28 static bool isThreadingEnabled(); 23 static bool isThreadingEnabled();
29 static void shutdown(); 24 static void shutdown();
30 25
31 private: 26 private:
32 static bool s_initialized; 27 static bool s_initialized;
33 static cc::CCThread* s_mainThread; 28 static cc::CCThread* s_mainThread;
34 static cc::CCThread* s_implThread; 29 static cc::CCThread* s_implThread;
35 }; 30 };
36 31
37 } 32 }
38 33
39 #endif // WebCompositorImpl_h 34 #endif // WebCompositorImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698