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

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

Issue 11232051: Remove static thread pointers from CC (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Apply code review comments Created 8 years, 1 month 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef WebCompositorImpl_h
6 #define WebCompositorImpl_h
7
8 #include "third_party/WebKit/Source/Platform/chromium/public/WebCompositor.h"
9
10 namespace cc {
11 class Thread;
12 }
13
14 namespace WebKit {
15
16 class WebThread;
17
18 class WebCompositorImpl : public WebCompositor {
19 public:
20 static bool initialized();
21
22 static void initialize(WebThread* implThread);
23 static bool isThreadingEnabled();
24 static void shutdown();
25
26 private:
27 static bool s_initialized;
28 static cc::Thread* s_mainThread;
29 static cc::Thread* s_implThread;
30 };
31
32 }
33
34 #endif // WebCompositorImpl_h
OLDNEW
« no previous file with comments | « webkit/compositor_bindings/test/run_all_unittests.cc ('k') | webkit/compositor_bindings/web_compositor_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698